pub struct Constructor { /* private fields */ }Expand description
Executable constructor declaration.
Implementations§
Trait Implementations§
Source§impl Debug for Constructor
impl Debug for Constructor
Source§impl Scope for Constructor
impl Scope for Constructor
fn core(self: Rc<Self>) -> Rc<dyn Core>
fn scope(&self) -> Option<Rc<dyn Scope>>
fn get_field(&self, name: &str) -> Option<Rc<Field>>
fn get_method(&self, name: &str, classes: &[Rc<dyn Type>]) -> Option<Rc<Method>>
fn get_type(&self, name: &str) -> Option<Rc<dyn Type>>
fn get_predicate(&self, name: &str) -> Option<Rc<Predicate>>
fn as_class(self: Rc<Self>) -> Option<Rc<dyn Class>>
Auto Trait Implementations§
impl Freeze for Constructor
impl !RefUnwindSafe for Constructor
impl !Send for Constructor
impl !Sync for Constructor
impl Unpin for Constructor
impl UnsafeUnpin for Constructor
impl !UnwindSafe for Constructor
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