pub struct ConstantReference {
pub value: i64,
pub size: usize,
pub pointer: bool,
pub intermediate: bool,
}Fields§
§value: i64§size: usize§pointer: bool§intermediate: boolTrait Implementations§
Source§impl Clone for ConstantReference
impl Clone for ConstantReference
Source§fn clone(&self) -> ConstantReference
fn clone(&self) -> ConstantReference
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 ConstantReference
Source§impl Debug for ConstantReference
impl Debug for ConstantReference
impl Eq for ConstantReference
Source§impl From<BNConstantReference> for ConstantReference
impl From<BNConstantReference> for ConstantReference
Source§fn from(value: BNConstantReference) -> Self
fn from(value: BNConstantReference) -> Self
Converts to this type from the input type.
Source§impl From<ConstantReference> for BNConstantReference
impl From<ConstantReference> for BNConstantReference
Source§fn from(value: ConstantReference) -> Self
fn from(value: ConstantReference) -> Self
Converts to this type from the input type.
Source§impl Hash for ConstantReference
impl Hash for ConstantReference
Source§impl PartialEq for ConstantReference
impl PartialEq for ConstantReference
Source§fn eq(&self, other: &ConstantReference) -> bool
fn eq(&self, other: &ConstantReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstantReference
Auto Trait Implementations§
impl Freeze for ConstantReference
impl RefUnwindSafe for ConstantReference
impl Send for ConstantReference
impl Sync for ConstantReference
impl Unpin for ConstantReference
impl UnsafeUnpin for ConstantReference
impl UnwindSafe for ConstantReference
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