pub struct SaferemoveStepsizeInt(/* private fields */);Trait Implementations§
Source§impl BoundedInteger for SaferemoveStepsizeInt
impl BoundedInteger for SaferemoveStepsizeInt
const MIN: Option<i128>
const MAX: Option<i128>
const DEFAULT: Option<i128>
const TYPE_DESCRIPTION: &'static str = "a valid integer"
fn get(&self) -> i128
fn new(value: i128) -> Result<Self, BoundedIntegerError>
fn validate(value: i128) -> Result<(), BoundedIntegerError>
Source§impl Clone for SaferemoveStepsizeInt
impl Clone for SaferemoveStepsizeInt
Source§fn clone(&self) -> SaferemoveStepsizeInt
fn clone(&self) -> SaferemoveStepsizeInt
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 SaferemoveStepsizeInt
Source§impl Debug for SaferemoveStepsizeInt
impl Debug for SaferemoveStepsizeInt
Source§impl<'de> Deserialize<'de> for SaferemoveStepsizeInt
impl<'de> Deserialize<'de> for SaferemoveStepsizeInt
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 PartialEq for SaferemoveStepsizeInt
impl PartialEq for SaferemoveStepsizeInt
Source§fn eq(&self, other: &SaferemoveStepsizeInt) -> bool
fn eq(&self, other: &SaferemoveStepsizeInt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SaferemoveStepsizeInt
impl PartialOrd for SaferemoveStepsizeInt
Source§impl Serialize for SaferemoveStepsizeInt
impl Serialize for SaferemoveStepsizeInt
impl StructuralPartialEq for SaferemoveStepsizeInt
Auto Trait Implementations§
impl Freeze for SaferemoveStepsizeInt
impl RefUnwindSafe for SaferemoveStepsizeInt
impl Send for SaferemoveStepsizeInt
impl Sync for SaferemoveStepsizeInt
impl Unpin for SaferemoveStepsizeInt
impl UnsafeUnpin for SaferemoveStepsizeInt
impl UnwindSafe for SaferemoveStepsizeInt
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