pub struct AppearanceId(pub u32);Expand description
A stable identifier for one device’s appearance of a logical line.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for AppearanceId
impl Clone for AppearanceId
Source§fn clone(&self) -> AppearanceId
fn clone(&self) -> AppearanceId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AppearanceId
Source§impl Debug for AppearanceId
impl Debug for AppearanceId
Source§impl Default for AppearanceId
impl Default for AppearanceId
Source§fn default() -> AppearanceId
fn default() -> AppearanceId
Returns the “default value” for a type. Read more
Source§impl Display for AppearanceId
impl Display for AppearanceId
impl Eq for AppearanceId
Source§impl From<AppearanceId> for u32
impl From<AppearanceId> for u32
Source§fn from(value: AppearanceId) -> Self
fn from(value: AppearanceId) -> Self
Converts to this type from the input type.
Source§impl From<u32> for AppearanceId
impl From<u32> for AppearanceId
Source§impl Hash for AppearanceId
impl Hash for AppearanceId
Source§impl Ord for AppearanceId
impl Ord for AppearanceId
Source§fn cmp(&self, other: &AppearanceId) -> Ordering
fn cmp(&self, other: &AppearanceId) -> Ordering
1.21.0 (const: unstable) · 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 AppearanceId
impl PartialEq for AppearanceId
Source§impl PartialOrd for AppearanceId
impl PartialOrd for AppearanceId
impl StructuralPartialEq for AppearanceId
Auto Trait Implementations§
impl Freeze for AppearanceId
impl RefUnwindSafe for AppearanceId
impl Send for AppearanceId
impl Sync for AppearanceId
impl Unpin for AppearanceId
impl UnsafeUnpin for AppearanceId
impl UnwindSafe for AppearanceId
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