pub enum Reference<'a> {
Entity(&'a str),
Char(char),
}
Expand description
Representation of the Reference value.
Variants§
Trait Implementations§
source§impl<'a> PartialEq for Reference<'a>
impl<'a> PartialEq for Reference<'a>
impl<'a> Copy for Reference<'a>
impl<'a> Eq for Reference<'a>
impl<'a> StructuralPartialEq for Reference<'a>
Auto Trait Implementations§
impl<'a> Freeze for Reference<'a>
impl<'a> RefUnwindSafe for Reference<'a>
impl<'a> Send for Reference<'a>
impl<'a> Sync for Reference<'a>
impl<'a> Unpin for Reference<'a>
impl<'a> UnwindSafe for Reference<'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