pub struct DynamicDimension {
pub name: String,
pub max_size: u32,
}Fields§
§name: String§max_size: u32Trait Implementations§
Source§impl Clone for DynamicDimension
impl Clone for DynamicDimension
Source§fn clone(&self) -> DynamicDimension
fn clone(&self) -> DynamicDimension
Returns a duplicate 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 DynamicDimension
impl Debug for DynamicDimension
Source§impl<'de> Deserialize<'de> for DynamicDimension
impl<'de> Deserialize<'de> for DynamicDimension
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 Ord for DynamicDimension
impl Ord for DynamicDimension
Source§fn cmp(&self, other: &DynamicDimension) -> Ordering
fn cmp(&self, other: &DynamicDimension) -> 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 DynamicDimension
impl PartialEq for DynamicDimension
Source§impl PartialOrd for DynamicDimension
impl PartialOrd for DynamicDimension
Source§impl Serialize for DynamicDimension
impl Serialize for DynamicDimension
impl Eq for DynamicDimension
impl StructuralPartialEq for DynamicDimension
Auto Trait Implementations§
impl Freeze for DynamicDimension
impl RefUnwindSafe for DynamicDimension
impl Send for DynamicDimension
impl Sync for DynamicDimension
impl Unpin for DynamicDimension
impl UnsafeUnpin for DynamicDimension
impl UnwindSafe for DynamicDimension
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