pub struct EfiString16 { /* private fields */ }
Expand description
A type representing an owned, C-compatible, UEFI-compatible, Nul-terminated string with no interior Nul-bytes.
The EfiString16
type is to &EfiStr16
what [String]
is to [&str]
. That is, it
represents a string that owns its content, rather than borrowing it.
The EfiString16
type can represent exactly the same values as EfiStr16
.
Trait Implementations§
Source§impl Clone for EfiString16
impl Clone for EfiString16
Source§fn clone(&self) -> EfiString16
fn clone(&self) -> EfiString16
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 Ord for EfiString16
impl Ord for EfiString16
Source§fn cmp(&self, other: &EfiString16) -> Ordering
fn cmp(&self, other: &EfiString16) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EfiString16
impl PartialEq for EfiString16
Source§impl PartialOrd for EfiString16
impl PartialOrd for EfiString16
impl Eq for EfiString16
impl StructuralPartialEq for EfiString16
Auto Trait Implementations§
impl Freeze for EfiString16
impl RefUnwindSafe for EfiString16
impl Send for EfiString16
impl Sync for EfiString16
impl Unpin for EfiString16
impl UnwindSafe for EfiString16
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