pub struct Ctor {
pub name: Name,
pub params: Vec<Param>,
pub chain: Option<(Chain, Vec<Arg>)>,
pub body: Block,
}Expand description
public Timer() : this(20t) { … }.
Fields§
§name: Name§params: Vec<Param>§chain: Option<(Chain, Vec<Arg>)>: this(…) / : base(…): the constructor run first.
body: BlockTrait Implementations§
impl StructuralPartialEq for Ctor
Auto Trait Implementations§
impl Freeze for Ctor
impl RefUnwindSafe for Ctor
impl Send for Ctor
impl Sync for Ctor
impl Unpin for Ctor
impl UnsafeUnpin for Ctor
impl UnwindSafe for Ctor
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