Trait ruast::MethodCallable
source · pub trait MethodCallable {
// Required method
fn method_call(
self,
seg: impl Into<PathSegment>,
args: Vec<Expr>
) -> MethodCall;
// Provided methods
fn method_call1(
self,
seg: impl Into<PathSegment>,
arg: impl Into<Expr>
) -> MethodCall
where Self: Sized { ... }
fn method_call2(
self,
seg: impl Into<PathSegment>,
arg1: impl Into<Expr>,
arg2: impl Into<Expr>
) -> MethodCall
where Self: Sized { ... }
}Required Methods§
fn method_call(self, seg: impl Into<PathSegment>, args: Vec<Expr>) -> MethodCall
Provided Methods§
fn method_call1( self, seg: impl Into<PathSegment>, arg: impl Into<Expr> ) -> MethodCallwhere Self: Sized,
fn method_call2( self, seg: impl Into<PathSegment>, arg1: impl Into<Expr>, arg2: impl Into<Expr> ) -> MethodCallwhere Self: Sized,
Object Safety§
This trait is not object safe.