pub enum FieldOpt {
Dir(Direction),
OutOverlay,
Opt,
}
Expand description
Optional arguments to a field in a struct or union.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldOpt
impl<'de> Deserialize<'de> for FieldOpt
Source§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
impl Eq for FieldOpt
impl StructuralPartialEq for FieldOpt
Auto Trait Implementations§
impl Freeze for FieldOpt
impl RefUnwindSafe for FieldOpt
impl Send for FieldOpt
impl Sync for FieldOpt
impl Unpin for FieldOpt
impl UnwindSafe for FieldOpt
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