pub struct CommonClass { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Class for CommonClass
impl Class for CommonClass
fn parents(&self) -> &[Vec<String>]
fn constructors(&self) -> Vec<Rc<Constructor>>
fn constructor(&self, args: &[Rc<dyn Type>]) -> Option<Rc<Constructor>>
fn predicates(&self) -> Vec<Rc<Predicate>>
fn classes(&self) -> Vec<Rc<dyn Class>>
fn instances(&self) -> Vec<ObjectId>
Source§impl Scope for CommonClass
impl Scope for CommonClass
fn core(&self) -> Rc<dyn Core>
fn scope(&self) -> Option<Rc<dyn Scope>>
fn as_class(self: Rc<Self>) -> Option<Rc<dyn Class>>
fn get_fields(&self) -> Vec<Rc<Field>>
fn get_field(&self, name: &str) -> Option<Rc<Field>>
fn get_function( &self, name: &str, types: &[Rc<dyn Type>], ) -> Option<Rc<Function>>
fn get_type(&self, name: &str) -> Option<Rc<dyn Type>>
fn get_predicate(&self, name: &str) -> Option<Rc<Predicate>>
Auto Trait Implementations§
impl !Freeze for CommonClass
impl !RefUnwindSafe for CommonClass
impl !Send for CommonClass
impl !Sync for CommonClass
impl Unpin for CommonClass
impl UnsafeUnpin for CommonClass
impl !UnwindSafe for CommonClass
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