#[non_exhaustive]pub struct DisplayInfo { /* private fields */ }Expand description
Information used to create a Display instance.
Implementations§
Source§impl DisplayInfo
impl DisplayInfo
Sourcepub fn to_builder(self) -> DisplayInfoBuilder
pub fn to_builder(self) -> DisplayInfoBuilder
Converts a DisplayInfo into a DisplayInfoBuilder.
Trait Implementations§
Source§impl Clone for DisplayInfo
impl Clone for DisplayInfo
Source§fn clone(&self) -> DisplayInfo
fn clone(&self) -> DisplayInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DisplayInfo
impl Debug for DisplayInfo
Source§impl Default for DisplayInfo
impl Default for DisplayInfo
Source§impl From<DisplayInfoBuilder> for DisplayInfo
impl From<DisplayInfoBuilder> for DisplayInfo
Source§fn from(info: DisplayInfoBuilder) -> Self
fn from(info: DisplayInfoBuilder) -> Self
Converts to this type from the input type.
Source§impl Hash for DisplayInfo
impl Hash for DisplayInfo
Source§impl PartialEq for DisplayInfo
impl PartialEq for DisplayInfo
impl Copy for DisplayInfo
impl Eq for DisplayInfo
impl StructuralPartialEq for DisplayInfo
Auto Trait Implementations§
impl Freeze for DisplayInfo
impl RefUnwindSafe for DisplayInfo
impl Send for DisplayInfo
impl Sync for DisplayInfo
impl Unpin for DisplayInfo
impl UnwindSafe for DisplayInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)