pub enum OptValueType {
None,
Optional,
Required,
}Expand description
Option’s value type.
See OptSpecs::option method for more information.
Variants§
None
Option does not accept a value.
Optional
Option accepts an optional value.
Required
Option requires a value.
Trait Implementations§
Source§impl Debug for OptValueType
impl Debug for OptValueType
Source§impl PartialEq for OptValueType
impl PartialEq for OptValueType
impl StructuralPartialEq for OptValueType
Auto Trait Implementations§
impl Freeze for OptValueType
impl RefUnwindSafe for OptValueType
impl Send for OptValueType
impl Sync for OptValueType
impl Unpin for OptValueType
impl UnwindSafe for OptValueType
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