pub struct NdbVariable {
pub label: String,
pub ty: NdbType,
pub binary_start: u32,
pub binary_end: u32,
pub stack_loc: u32,
}Expand description
One variable entry in an NDB file.
Fields§
§label: StringVariable name.
ty: NdbTypeVariable type abbreviation.
binary_start: u32Start byte offset in the emitted NCS.
binary_end: u32End byte offset in the emitted NCS.
stack_loc: u32Stack location as recorded by the compiler.
Trait Implementations§
Source§impl Clone for NdbVariable
impl Clone for NdbVariable
Source§fn clone(&self) -> NdbVariable
fn clone(&self) -> NdbVariable
Returns a duplicate 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 NdbVariable
impl Debug for NdbVariable
Source§impl<'de> Deserialize<'de> for NdbVariable
impl<'de> Deserialize<'de> for NdbVariable
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 NdbVariable
impl PartialEq for NdbVariable
Source§impl Serialize for NdbVariable
impl Serialize for NdbVariable
impl Eq for NdbVariable
impl StructuralPartialEq for NdbVariable
Auto Trait Implementations§
impl Freeze for NdbVariable
impl RefUnwindSafe for NdbVariable
impl Send for NdbVariable
impl Sync for NdbVariable
impl Unpin for NdbVariable
impl UnsafeUnpin for NdbVariable
impl UnwindSafe for NdbVariable
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.