pub enum Point {
Around {
callee: Callee,
select: Option<Selector>,
body: Block,
},
Arg {
callee: Callee,
select: Option<Selector>,
arg: Name,
body: Block,
},
BeforeCall {
callee: Callee,
select: Option<Selector>,
uses: Vec<Local>,
body: Block,
},
AfterCall {
callee: Callee,
select: Option<Selector>,
uses: Vec<Local>,
body: Block,
},
Field {
write: bool,
field: Name,
select: Option<Selector>,
uses: Vec<Local>,
body: Block,
},
New {
ty: Type,
select: Option<Selector>,
uses: Vec<Local>,
body: Block,
},
Constant {
value: Expr,
to: Expr,
select: Option<Selector>,
},
Local {
local: Local,
value: Expr,
},
}Expand description
A point inside a method.
Variants§
Around
Arg
at call Vec3.Add (x) { … }: an argument by its name.
BeforeCall
AfterCall
Field
New
Constant
Local
Trait Implementations§
impl StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
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