pub enum FunctionKind {
Freestanding,
Static {
resource: ResourceId,
name: String,
},
Method {
resource: ResourceId,
name: String,
},
}
Variants§
Trait Implementations§
Source§impl Clone for FunctionKind
impl Clone for FunctionKind
Source§fn clone(&self) -> FunctionKind
fn clone(&self) -> FunctionKind
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 FunctionKind
impl Debug for FunctionKind
Source§impl PartialEq for FunctionKind
impl PartialEq for FunctionKind
impl StructuralPartialEq for FunctionKind
Auto Trait Implementations§
impl Freeze for FunctionKind
impl RefUnwindSafe for FunctionKind
impl Send for FunctionKind
impl Sync for FunctionKind
impl Unpin for FunctionKind
impl UnwindSafe for FunctionKind
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