Struct Wrapper
pub struct Wrapper<F>(pub F);Tuple Fields§
§0: FTrait Implementations§
§impl<'de, F: Flags> Deserialize<'de> for Wrapper<F>
impl<'de, F: Flags> Deserialize<'de> for Wrapper<F>
§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<F> Freeze for Wrapper<F>where
F: Freeze,
impl<F> RefUnwindSafe for Wrapper<F>where
F: RefUnwindSafe,
impl<F> Send for Wrapper<F>where
F: Send,
impl<F> Sync for Wrapper<F>where
F: Sync,
impl<F> Unpin for Wrapper<F>where
F: Unpin,
impl<F> UnwindSafe for Wrapper<F>where
F: UnwindSafe,
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