pub enum ParameterType {
Flags,
Normal {
ty: Type,
flag: Option<Flag>,
},
}Expand description
A parameter type.
Variants§
Flags
This parameter represents a flags field (u32).
Normal
A “normal” type, which may depend on a flag.
Trait Implementations§
Source§impl Debug for ParameterType
impl Debug for ParameterType
Source§impl Display for ParameterType
impl Display for ParameterType
Source§impl FromStr for ParameterType
impl FromStr for ParameterType
Source§impl Hash for ParameterType
impl Hash for ParameterType
Source§impl PartialEq for ParameterType
impl PartialEq for ParameterType
impl Eq for ParameterType
impl StructuralPartialEq for ParameterType
Auto Trait Implementations§
impl Freeze for ParameterType
impl RefUnwindSafe for ParameterType
impl Send for ParameterType
impl Sync for ParameterType
impl Unpin for ParameterType
impl UnwindSafe for ParameterType
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