pub struct ParseString<'a>(/* private fields */);
Expand description
A zero-copy string parsed from an iCal input.
Implementations§
Source§impl ParseString<'_>
impl ParseString<'_>
pub fn to_owned(&self) -> ParseString<'static>
pub fn into_owned(self) -> ParseString<'static>
pub fn as_str(&self) -> &str
Source§impl<'a> ParseString<'a>
impl<'a> ParseString<'a>
pub fn unescape_by_value_type(self, value_type: ValueType) -> ParseString<'a>
pub fn unescape_text(self) -> ParseString<'a>
Trait Implementations§
Source§impl AsRef<str> for ParseString<'_>
impl AsRef<str> for ParseString<'_>
Source§impl<'a> Clone for ParseString<'a>
impl<'a> Clone for ParseString<'a>
Source§fn clone(&self) -> ParseString<'a>
fn clone(&self) -> ParseString<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ParseString<'a>
impl<'a> Debug for ParseString<'a>
Source§impl Display for ParseString<'_>
impl Display for ParseString<'_>
Source§impl<'a> From<&'a str> for ParseString<'a>
impl<'a> From<&'a str> for ParseString<'a>
Source§impl From<ParseString<'static>> for String
impl From<ParseString<'static>> for String
Source§fn from(val: ParseString<'static>) -> Self
fn from(val: ParseString<'static>) -> Self
Converts to this type from the input type.
Source§impl From<String> for ParseString<'static>
impl From<String> for ParseString<'static>
Source§impl PartialEq<&str> for ParseString<'_>
impl PartialEq<&str> for ParseString<'_>
Source§impl PartialEq for ParseString<'_>
impl PartialEq for ParseString<'_>
impl<'a> Eq for ParseString<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParseString<'a>
impl<'a> RefUnwindSafe for ParseString<'a>
impl<'a> Send for ParseString<'a>
impl<'a> Sync for ParseString<'a>
impl<'a> Unpin for ParseString<'a>
impl<'a> UnwindSafe for ParseString<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more