Struct conjure_codegen::example_types::product::safe_long_alias_example::SafeLongAliasExample
source · pub struct SafeLongAliasExample(pub SafeLong);
Tuple Fields§
§0: SafeLong
Methods from Deref<Target = i64>§
pub const MIN: i64 = -9_223_372_036_854_775_808i64
pub const MAX: i64 = 9_223_372_036_854_775_807i64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Clone for SafeLongAliasExample
impl Clone for SafeLongAliasExample
source§fn clone(&self) -> SafeLongAliasExample
fn clone(&self) -> SafeLongAliasExample
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 SafeLongAliasExample
impl Debug for SafeLongAliasExample
source§impl Default for SafeLongAliasExample
impl Default for SafeLongAliasExample
source§fn default() -> SafeLongAliasExample
fn default() -> SafeLongAliasExample
Returns the “default value” for a type. Read more
source§impl Deref for SafeLongAliasExample
impl Deref for SafeLongAliasExample
source§impl DerefMut for SafeLongAliasExample
impl DerefMut for SafeLongAliasExample
source§impl<'de> Deserialize<'de> for SafeLongAliasExample
impl<'de> Deserialize<'de> for SafeLongAliasExample
source§fn deserialize<D>(d: D) -> Result<SafeLongAliasExample, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<SafeLongAliasExample, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SafeLongAliasExample
impl Display for SafeLongAliasExample
source§impl FromPlain for SafeLongAliasExample
impl FromPlain for SafeLongAliasExample
source§impl Hash for SafeLongAliasExample
impl Hash for SafeLongAliasExample
source§impl Ord for SafeLongAliasExample
impl Ord for SafeLongAliasExample
source§fn cmp(&self, other: &SafeLongAliasExample) -> Ordering
fn cmp(&self, other: &SafeLongAliasExample) -> 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 SafeLongAliasExample
impl PartialEq for SafeLongAliasExample
source§fn eq(&self, other: &SafeLongAliasExample) -> bool
fn eq(&self, other: &SafeLongAliasExample) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SafeLongAliasExample
impl PartialOrd for SafeLongAliasExample
source§fn partial_cmp(&self, other: &SafeLongAliasExample) -> Option<Ordering>
fn partial_cmp(&self, other: &SafeLongAliasExample) -> 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 Plain for SafeLongAliasExample
impl Plain for SafeLongAliasExample
source§impl Serialize for SafeLongAliasExample
impl Serialize for SafeLongAliasExample
impl Copy for SafeLongAliasExample
impl Eq for SafeLongAliasExample
impl StructuralPartialEq for SafeLongAliasExample
Auto Trait Implementations§
impl Freeze for SafeLongAliasExample
impl RefUnwindSafe for SafeLongAliasExample
impl Send for SafeLongAliasExample
impl Sync for SafeLongAliasExample
impl Unpin for SafeLongAliasExample
impl UnwindSafe for SafeLongAliasExample
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.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.