pub struct NdbFunction {
pub label: String,
pub binary_start: u32,
pub binary_end: u32,
pub return_type: NdbType,
pub args: Vec<NdbType>,
}Expand description
One function entry in an NDB file.
Fields§
§label: StringFunction name.
binary_start: u32Start byte offset in the emitted NCS.
binary_end: u32End byte offset in the emitted NCS.
return_type: NdbTypeReturn type abbreviation.
args: Vec<NdbType>Parameter types in declaration order.
Trait Implementations§
Source§impl Clone for NdbFunction
impl Clone for NdbFunction
Source§fn clone(&self) -> NdbFunction
fn clone(&self) -> NdbFunction
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 NdbFunction
impl Debug for NdbFunction
Source§impl<'de> Deserialize<'de> for NdbFunction
impl<'de> Deserialize<'de> for NdbFunction
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 NdbFunction
impl PartialEq for NdbFunction
Source§impl Serialize for NdbFunction
impl Serialize for NdbFunction
impl Eq for NdbFunction
impl StructuralPartialEq for NdbFunction
Auto Trait Implementations§
impl Freeze for NdbFunction
impl RefUnwindSafe for NdbFunction
impl Send for NdbFunction
impl Sync for NdbFunction
impl Unpin for NdbFunction
impl UnsafeUnpin for NdbFunction
impl UnwindSafe for NdbFunction
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.