Enum measureme::stringtable::StringComponent
source · pub enum StringComponent<'s> {
Value(&'s str),
Ref(StringId),
}
Expand description
A single component of a string. Used for building composite table entries.
Variants§
Auto Trait Implementations§
impl<'s> Freeze for StringComponent<'s>
impl<'s> RefUnwindSafe for StringComponent<'s>
impl<'s> Send for StringComponent<'s>
impl<'s> Sync for StringComponent<'s>
impl<'s> Unpin for StringComponent<'s>
impl<'s> UnwindSafe for StringComponent<'s>
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