Struct waffle::GlobalData
source · pub struct GlobalData {
pub ty: Type,
pub value: Option<u64>,
pub mutable: bool,
}Fields§
§ty: Type§value: Option<u64>§mutable: boolTrait Implementations§
source§impl Clone for GlobalData
impl Clone for GlobalData
source§fn clone(&self) -> GlobalData
fn clone(&self) -> GlobalData
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 GlobalData
impl Debug for GlobalData
source§impl Hash for GlobalData
impl Hash for GlobalData
source§impl Ord for GlobalData
impl Ord for GlobalData
source§fn cmp(&self, other: &GlobalData) -> Ordering
fn cmp(&self, other: &GlobalData) -> 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 GlobalData
impl PartialEq for GlobalData
source§fn eq(&self, other: &GlobalData) -> bool
fn eq(&self, other: &GlobalData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GlobalData
impl PartialOrd for GlobalData
source§fn partial_cmp(&self, other: &GlobalData) -> Option<Ordering>
fn partial_cmp(&self, other: &GlobalData) -> 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 moreimpl Eq for GlobalData
impl StructuralPartialEq for GlobalData
Auto Trait Implementations§
impl Freeze for GlobalData
impl RefUnwindSafe for GlobalData
impl Send for GlobalData
impl Sync for GlobalData
impl Unpin for GlobalData
impl UnwindSafe for GlobalData
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> 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.