pub struct Flags<'a> {
pub names: Vec<&'a str>,
}
Available on crate feature
component-model
only.Expand description
A flags type.
Fields§
§names: Vec<&'a str>
The names of the individual flags.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Flags<'a>
impl<'a> RefUnwindSafe for Flags<'a>
impl<'a> Send for Flags<'a>
impl<'a> Sync for Flags<'a>
impl<'a> Unpin for Flags<'a>
impl<'a> UnwindSafe for Flags<'a>
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