pub enum ClassRelation {
Extends,
Implements,
}Expand description
How a class relates to the target of an Extends / Implements query.
Variants§
Extends
The class’s superclass_idx is the target.
Implements
The target is in the class’s interfaces list.
Implementations§
Trait Implementations§
Source§impl Clone for ClassRelation
impl Clone for ClassRelation
Source§fn clone(&self) -> ClassRelation
fn clone(&self) -> ClassRelation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClassRelation
Source§impl Debug for ClassRelation
impl Debug for ClassRelation
impl Eq for ClassRelation
Source§impl Hash for ClassRelation
impl Hash for ClassRelation
Source§impl PartialEq for ClassRelation
impl PartialEq for ClassRelation
impl StructuralPartialEq for ClassRelation
Auto Trait Implementations§
impl Forget for ClassRelation
impl Freeze for ClassRelation
impl Move for ClassRelation
impl RefUnwindSafe for ClassRelation
impl Send for ClassRelation
impl Sync for ClassRelation
impl Unpin for ClassRelation
impl UnsafeUnpin for ClassRelation
impl UnwindSafe for ClassRelation
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