Struct conjure_codegen::example_types::product::DoubleExample
source · pub struct DoubleExample { /* private fields */ }
Implementations§
source§impl DoubleExample
impl DoubleExample
sourcepub fn new(double_value: f64) -> DoubleExample
pub fn new(double_value: f64) -> DoubleExample
Constructs a new instance of the type.
pub fn double_value(&self) -> f64
Trait Implementations§
source§impl Clone for DoubleExample
impl Clone for DoubleExample
source§fn clone(&self) -> DoubleExample
fn clone(&self) -> DoubleExample
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 DoubleExample
impl Debug for DoubleExample
source§impl<'de> Deserialize<'de> for DoubleExample
impl<'de> Deserialize<'de> for DoubleExample
source§fn deserialize<D>(d: D) -> Result<DoubleExample, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<DoubleExample, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<DoubleExample> for Builder
impl From<DoubleExample> for Builder
source§fn from(_v: DoubleExample) -> Builder
fn from(_v: DoubleExample) -> Builder
Converts to this type from the input type.
source§impl Hash for DoubleExample
impl Hash for DoubleExample
source§impl Ord for DoubleExample
impl Ord for DoubleExample
source§impl PartialEq for DoubleExample
impl PartialEq for DoubleExample
source§impl PartialOrd for DoubleExample
impl PartialOrd for DoubleExample
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 DoubleExample
impl Serialize for DoubleExample
impl Copy for DoubleExample
impl Eq for DoubleExample
Auto Trait Implementations§
impl Freeze for DoubleExample
impl RefUnwindSafe for DoubleExample
impl Send for DoubleExample
impl Sync for DoubleExample
impl Unpin for DoubleExample
impl UnwindSafe for DoubleExample
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.