pub struct ExternalFnDef {
pub id: DefinitionId,
pub name: NameId,
pub arg_count: u8,
pub fallback: Option<DefinitionId>,
}Expand description
An externally-bound function definition.
Fields§
§id: DefinitionId§name: NameId§arg_count: u8§fallback: Option<DefinitionId>Trait Implementations§
Source§impl Clone for ExternalFnDef
impl Clone for ExternalFnDef
Source§fn clone(&self) -> ExternalFnDef
fn clone(&self) -> ExternalFnDef
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 ExternalFnDef
Source§impl Debug for ExternalFnDef
impl Debug for ExternalFnDef
impl Eq for ExternalFnDef
Source§impl PartialEq for ExternalFnDef
impl PartialEq for ExternalFnDef
Source§fn eq(&self, other: &ExternalFnDef) -> bool
fn eq(&self, other: &ExternalFnDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExternalFnDef
Auto Trait Implementations§
impl Freeze for ExternalFnDef
impl RefUnwindSafe for ExternalFnDef
impl Send for ExternalFnDef
impl Sync for ExternalFnDef
impl Unpin for ExternalFnDef
impl UnsafeUnpin for ExternalFnDef
impl UnwindSafe for ExternalFnDef
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