Struct icalendar::parser::ParseString
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)