pub struct RootValue<'r>(/* private fields */);Expand description
One value a Roots holds. Built from a reference to any accepted
input type through From; there is nothing else to do with it.
Trait Implementations§
impl<'r> Copy for RootValue<'r>
Source§impl<'r> From<&'r OwnedDataValue> for RootValue<'r>
impl<'r> From<&'r OwnedDataValue> for RootValue<'r>
Source§fn from(v: &'r OwnedDataValue) -> Self
fn from(v: &'r OwnedDataValue) -> Self
Converts to this type from the input type.
Source§impl<'r> From<&'r ParsedData> for RootValue<'r>
impl<'r> From<&'r ParsedData> for RootValue<'r>
Source§fn from(v: &'r ParsedData) -> Self
fn from(v: &'r ParsedData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'r> !RefUnwindSafe for RootValue<'r>
impl<'r> !Send for RootValue<'r>
impl<'r> !Sync for RootValue<'r>
impl<'r> !UnwindSafe for RootValue<'r>
impl<'r> Freeze for RootValue<'r>
impl<'r> Unpin for RootValue<'r>
impl<'r> UnsafeUnpin for RootValue<'r>
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