pub struct FlagsItem {
pub span: Span,
pub kind: FlagsItemKind,
}
Expand description
A single item in a group of flags.
Fields§
§span: Span
The span of this item.
kind: FlagsItemKind
The kind of this item.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for FlagsItem
impl<'arbitrary> Arbitrary<'arbitrary> for FlagsItem
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreimpl Eq for FlagsItem
impl StructuralPartialEq for FlagsItem
Auto Trait Implementations§
impl Freeze for FlagsItem
impl RefUnwindSafe for FlagsItem
impl Send for FlagsItem
impl Sync for FlagsItem
impl Unpin for FlagsItem
impl UnwindSafe for FlagsItem
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)