Struct uefi::proto::device_path::text::DisplayOnly
source · pub struct DisplayOnly(pub bool);
Expand description
This struct is a wrapper of display_only
parameter
used by Device Path to Text protocol.
The display_only
parameter controls whether the longer
(parseable) or shorter (display-only) form of the conversion
is used. If display_only
is TRUE, then the shorter text
representation of the display node is used, where applicable.
If display_only
is FALSE, then the longer text representation
of the display node is used.
Tuple Fields§
§0: bool
Trait Implementations§
source§impl Clone for DisplayOnly
impl Clone for DisplayOnly
source§fn clone(&self) -> DisplayOnly
fn clone(&self) -> DisplayOnly
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 DisplayOnly
impl Debug for DisplayOnly
impl Copy for DisplayOnly
Auto Trait Implementations§
impl Freeze for DisplayOnly
impl RefUnwindSafe for DisplayOnly
impl Send for DisplayOnly
impl Sync for DisplayOnly
impl Unpin for DisplayOnly
impl UnwindSafe for DisplayOnly
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