Struct jormungandr_lib::interfaces::config::node::PreferredViewMax
source · pub struct PreferredViewMax(usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for PreferredViewMax
impl Clone for PreferredViewMax
source§fn clone(&self) -> PreferredViewMax
fn clone(&self) -> PreferredViewMax
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 Debug for PreferredViewMax
impl Debug for PreferredViewMax
source§impl Default for PreferredViewMax
impl Default for PreferredViewMax
source§impl<'de> Deserialize<'de> for PreferredViewMax
impl<'de> Deserialize<'de> for PreferredViewMax
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<PreferredViewMax> for usize
impl From<PreferredViewMax> for usize
source§fn from(pvm: PreferredViewMax) -> Self
fn from(pvm: PreferredViewMax) -> Self
Converts to this type from the input type.
source§impl Hash for PreferredViewMax
impl Hash for PreferredViewMax
source§impl Ord for PreferredViewMax
impl Ord for PreferredViewMax
source§fn cmp(&self, other: &PreferredViewMax) -> Ordering
fn cmp(&self, other: &PreferredViewMax) -> 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<PreferredViewMax> for PreferredViewMax
impl PartialEq<PreferredViewMax> for PreferredViewMax
source§fn eq(&self, other: &PreferredViewMax) -> bool
fn eq(&self, other: &PreferredViewMax) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PreferredViewMax> for PreferredViewMax
impl PartialOrd<PreferredViewMax> for PreferredViewMax
source§fn partial_cmp(&self, other: &PreferredViewMax) -> Option<Ordering>
fn partial_cmp(&self, other: &PreferredViewMax) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PreferredViewMax
impl Serialize for PreferredViewMax
impl Copy for PreferredViewMax
impl Eq for PreferredViewMax
impl StructuralEq for PreferredViewMax
impl StructuralPartialEq for PreferredViewMax
Auto Trait Implementations§
impl RefUnwindSafe for PreferredViewMax
impl Send for PreferredViewMax
impl Sync for PreferredViewMax
impl Unpin for PreferredViewMax
impl UnwindSafe for PreferredViewMax
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