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§
source§impl Clone for AllowShortcuts
impl Clone for AllowShortcuts
source§fn clone(&self) -> AllowShortcuts
fn clone(&self) -> AllowShortcuts
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AllowShortcuts
impl Debug for AllowShortcuts
impl Copy for AllowShortcuts
Auto Trait Implementations§
impl Freeze for AllowShortcuts
impl RefUnwindSafe for AllowShortcuts
impl Send for AllowShortcuts
impl Sync for AllowShortcuts
impl Unpin for AllowShortcuts
impl UnwindSafe for AllowShortcuts
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