pub struct WithVirtualRoot<'a, Marker>(pub &'a VirtualRoot<Marker>);Expand description
Deserialize a VirtualPath with virtual root context.
Tuple Fields§
§0: &'a VirtualRoot<Marker>Trait Implementations§
Source§impl<'a, 'de, Marker> DeserializeSeed<'de> for WithVirtualRoot<'a, Marker>
Available on crate feature virtual-path only.
impl<'a, 'de, Marker> DeserializeSeed<'de> for WithVirtualRoot<'a, Marker>
Available on crate feature
virtual-path only.Source§type Value = VirtualPath<Marker>
type Value = VirtualPath<Marker>
The type produced by using this seed.
Source§fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
Equivalent to the more common
Deserialize::deserialize method, except
with some initial piece of data (the seed) passed in.Auto Trait Implementations§
impl<'a, Marker> Freeze for WithVirtualRoot<'a, Marker>
impl<'a, Marker> RefUnwindSafe for WithVirtualRoot<'a, Marker>where
Marker: RefUnwindSafe,
impl<'a, Marker> Send for WithVirtualRoot<'a, Marker>where
Marker: Sync,
impl<'a, Marker> Sync for WithVirtualRoot<'a, Marker>where
Marker: Sync,
impl<'a, Marker> Unpin for WithVirtualRoot<'a, Marker>
impl<'a, Marker> UnwindSafe for WithVirtualRoot<'a, Marker>where
Marker: RefUnwindSafe,
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