pub struct StyleValue {
pub letter: &'static str,
pub display: bool,
pub level: u8,
}Fields§
§letter: &'static str§display: bool§level: u8Trait Implementations§
Source§impl Clone for StyleValue
impl Clone for StyleValue
Source§fn clone(&self) -> StyleValue
fn clone(&self) -> StyleValue
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 StyleValue
Source§impl Debug for StyleValue
impl Debug for StyleValue
impl Eq for StyleValue
Source§impl Hash for StyleValue
impl Hash for StyleValue
Source§impl PartialEq for StyleValue
impl PartialEq for StyleValue
Source§fn eq(&self, other: &StyleValue) -> bool
fn eq(&self, other: &StyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StyleValue
Auto Trait Implementations§
impl Freeze for StyleValue
impl RefUnwindSafe for StyleValue
impl Send for StyleValue
impl Sync for StyleValue
impl Unpin for StyleValue
impl UnsafeUnpin for StyleValue
impl UnwindSafe for StyleValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.