pub struct MsidSemantic<'a> {
pub semantic: Cow<'a, str>,
pub token: Option<Cow<'a, str>>,
}Expand description
TODO: type this more strictly, if possible without Vec
Fields§
§semantic: Cow<'a, str>§token: Option<Cow<'a, str>>Implementations§
Source§impl<'a> MsidSemantic<'a>
impl<'a> MsidSemantic<'a>
Sourcepub fn into_owned(self) -> MsidSemantic<'static>
pub fn into_owned(self) -> MsidSemantic<'static>
Returns a version of self with all fields converted to owning versions.
Trait Implementations§
Source§impl<'a> Clone for MsidSemantic<'a>
impl<'a> Clone for MsidSemantic<'a>
Source§fn clone(&self) -> MsidSemantic<'a>
fn clone(&self) -> MsidSemantic<'a>
Returns a duplicate 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 MsidSemantic<'a>
impl<'a> Debug for MsidSemantic<'a>
Source§impl<'a> PartialEq for MsidSemantic<'a>
impl<'a> PartialEq for MsidSemantic<'a>
Source§impl uDisplay for MsidSemantic<'_>
impl uDisplay for MsidSemantic<'_>
impl<'a> Eq for MsidSemantic<'a>
impl<'a> StructuralPartialEq for MsidSemantic<'a>
Auto Trait Implementations§
impl<'a> Freeze for MsidSemantic<'a>
impl<'a> RefUnwindSafe for MsidSemantic<'a>
impl<'a> Send for MsidSemantic<'a>
impl<'a> Sync for MsidSemantic<'a>
impl<'a> Unpin for MsidSemantic<'a>
impl<'a> UnwindSafe for MsidSemantic<'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