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 more