pub enum OptionValueType {
Opaque,
Flag,
Integer,
String,
ContentFormat,
Block,
}
Expand description
Type describing the type of an option’s value.
Variants§
Opaque
Opaque option value.
Flag
Option value is determined by the presence or absence of the option.
Integer
Integer value.
String
UTF8 string value.
ContentFormat
Integer value containing a ContentFormat
.
Block
Integer value containing a BlockInfo
.
Trait Implementations§
Source§impl Clone for OptionValueType
impl Clone for OptionValueType
Source§fn clone(&self) -> OptionValueType
fn clone(&self) -> OptionValueType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OptionValueType
impl Debug for OptionValueType
Source§impl Hash for OptionValueType
impl Hash for OptionValueType
Source§impl PartialEq for OptionValueType
impl PartialEq for OptionValueType
impl Copy for OptionValueType
impl Eq for OptionValueType
impl StructuralPartialEq for OptionValueType
Auto Trait Implementations§
impl Freeze for OptionValueType
impl RefUnwindSafe for OptionValueType
impl Send for OptionValueType
impl Sync for OptionValueType
impl Unpin for OptionValueType
impl UnwindSafe for OptionValueType
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