pub struct Nat32Range {
pub min: u32,
pub max: u32,
}Fields§
§min: u32§max: u32Implementations§
Trait Implementations§
Source§impl CandidType for Nat32Range
impl CandidType for Nat32Range
Source§impl Clone for Nat32Range
impl Clone for Nat32Range
Source§fn clone(&self) -> Nat32Range
fn clone(&self) -> Nat32Range
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 moreSource§impl Debug for Nat32Range
impl Debug for Nat32Range
Source§impl<'de> Deserialize<'de> for Nat32Range
impl<'de> Deserialize<'de> for Nat32Range
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
impl Eq for Nat32Range
Source§impl NormalizeAuto for Nat32Range
impl NormalizeAuto for Nat32Range
fn normalize_self(&mut self, ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for Nat32Range
impl NormalizeCustom for Nat32Range
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl PartialEq for Nat32Range
impl PartialEq for Nat32Range
Source§impl Path for Nat32Range
impl Path for Nat32Range
impl StructuralPartialEq for Nat32Range
Source§impl ValidateAuto for Nat32Range
impl ValidateAuto for Nat32Range
fn validate_self(&self, ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for Nat32Range
impl ValidateCustom for Nat32Range
fn validate_custom(&self, ctx: &mut dyn VisitorContext)
Source§impl Visitable for Nat32Range
impl Visitable for Nat32Range
fn drive(&self, visitor: &mut dyn VisitorCore)
fn drive_mut(&mut self, visitor: &mut dyn VisitorMutCore)
Source§fn type_identity(&self) -> &'static str
fn type_identity(&self) -> &'static str
Return the concrete Rust application-value type used for callback
diagnostics.
Auto Trait Implementations§
impl Freeze for Nat32Range
impl RefUnwindSafe for Nat32Range
impl Send for Nat32Range
impl Sync for Nat32Range
impl Unpin for Nat32Range
impl UnsafeUnpin for Nat32Range
impl UnwindSafe for Nat32Range
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.impl<T> Normalize for Twhere
T: NormalizeAuto + NormalizeCustom,
Source§impl<T> NormalizeAndValidate for Twhere
T: Visitable,
impl<T> NormalizeAndValidate for Twhere
T: Visitable,
Source§fn normalize_and_validate(self) -> Result<Self, VisitorError>
fn normalize_and_validate(self) -> Result<Self, VisitorError>
Normalize and then validate this application-owned value. Read more