pub enum CallableCreateKind {
Function(Box<Expr>),
Method {
object: Box<Expr>,
method: Box<Expr>,
},
NullsafeMethod {
object: Box<Expr>,
method: Box<Expr>,
},
StaticMethod {
class: Box<Expr>,
method: Box<Expr>,
},
}Variants§
Trait Implementations§
Source§impl Clone for CallableCreateKind
impl Clone for CallableCreateKind
Source§fn clone(&self) -> CallableCreateKind
fn clone(&self) -> CallableCreateKind
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 moreSource§impl Debug for CallableCreateKind
impl Debug for CallableCreateKind
Auto Trait Implementations§
impl Freeze for CallableCreateKind
impl RefUnwindSafe for CallableCreateKind
impl Send for CallableCreateKind
impl Sync for CallableCreateKind
impl Unpin for CallableCreateKind
impl UnsafeUnpin for CallableCreateKind
impl UnwindSafe for CallableCreateKind
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