Enum savvy_bindgen::SavvyFnType
source · pub enum SavvyFnType {
BareFunction,
Method(Type),
ConsumingMethod(Type),
AssociatedFunction(Type),
}Variants§
BareFunction
A function that doesn’t belong to a struct
Method(Type)
A function that belongs to a struct, and the first argument is &self
or &mut self. Contains the type name of the sturct.
ConsumingMethod(Type)
A function that belongs to a struct, and the first argument is self.
Contains the type name of the sturct.
AssociatedFunction(Type)
A function that belongs to a struct, but the first argument is not
&self or &mut self. Contains the type name of the sturct.
Auto Trait Implementations§
impl Freeze for SavvyFnType
impl RefUnwindSafe for SavvyFnType
impl !Send for SavvyFnType
impl !Sync for SavvyFnType
impl Unpin for SavvyFnType
impl UnwindSafe for SavvyFnType
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