Struct grammers_tl_parser::tl::Flag
source · pub struct Flag {
pub name: String,
pub index: usize,
}
Expand description
Data attached to parameters conditional on flags.
Fields§
§name: String
The name of the parameter containing the flags in its bits.
index: usize
The bit index used by this flag inside the flags parameter.
Trait Implementations§
source§impl PartialEq for Flag
impl PartialEq for Flag
impl Eq for Flag
impl StructuralEq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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