pub struct Method { /* private fields */ }
Trait Implementations§
source§impl Object for Method
impl Object for Method
source§fn is_callable(&self, without_arguments: bool) -> bool
fn is_callable(&self, without_arguments: bool) -> bool
Check whether the object is callable.
source§fn is_consuming(&self) -> bool
fn is_consuming(&self) -> bool
Check whether the object is consuming
source§fn call_direct(
&self,
context: &mut Context<'_, '_, '_, '_>,
args: usize,
nargs: Option<Dict>
) -> Result<Accept, Reject>
fn call_direct( &self, context: &mut Context<'_, '_, '_, '_>, args: usize, nargs: Option<Dict> ) -> Result<Accept, Reject>
Directly call object with a given stack configuration. Read more
source§fn is_nullable(&self) -> bool
fn is_nullable(&self) -> bool
Check whether the object is nullable
source§fn is_mutable(&self) -> bool
fn is_mutable(&self) -> bool
Check whether the object is mutable in itself. Read more
source§fn is_hashable(&self) -> bool
fn is_hashable(&self) -> bool
Check whether the object is hashable. Read more
source§impl PartialEq for Method
impl PartialEq for Method
source§impl PartialOrd for Method
impl PartialOrd for Method
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for Method
Auto Trait Implementations§
impl !RefUnwindSafe for Method
impl !Send for Method
impl !Sync for Method
impl Unpin for Method
impl !UnwindSafe for Method
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