Struct uefi::proto::device_path::text::AllowShortcuts
source · pub struct AllowShortcuts(pub bool);
Expand description
This struct is a wrapper of allow_shortcuts
parameter
used by Device Path to Text protocol.
The allow_shortcuts
is FALSE, then the shortcut forms of
text representation for a device node cannot be used. A
shortcut form is one which uses information other than the
type or subtype. If `allow_shortcuts is TRUE, then the
shortcut forms of text representation for a device node
can be used, where applicable.
Tuple Fields
0: bool
Trait Implementations
sourceimpl Clone for AllowShortcuts
impl Clone for AllowShortcuts
sourcefn clone(&self) -> AllowShortcuts
fn clone(&self) -> AllowShortcuts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for AllowShortcuts
Auto Trait Implementations
impl RefUnwindSafe for AllowShortcuts
impl Send for AllowShortcuts
impl Sync for AllowShortcuts
impl Unpin for AllowShortcuts
impl UnwindSafe for AllowShortcuts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more