pub struct InheritanceRelation {
pub child: String,
pub parent: String,
pub order: usize,
}Expand description
Represents class inheritance
Fields§
§child: StringChild class
parent: StringParent class
order: usizeInheritance order (for multiple inheritance)
Implementations§
Trait Implementations§
Source§impl Clone for InheritanceRelation
impl Clone for InheritanceRelation
Source§fn clone(&self) -> InheritanceRelation
fn clone(&self) -> InheritanceRelation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InheritanceRelation
impl Debug for InheritanceRelation
Source§impl<'de> Deserialize<'de> for InheritanceRelation
impl<'de> Deserialize<'de> for InheritanceRelation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for InheritanceRelation
impl Hash for InheritanceRelation
Source§impl PartialEq for InheritanceRelation
impl PartialEq for InheritanceRelation
Source§impl Serialize for InheritanceRelation
impl Serialize for InheritanceRelation
impl Eq for InheritanceRelation
impl StructuralPartialEq for InheritanceRelation
Auto Trait Implementations§
impl Freeze for InheritanceRelation
impl RefUnwindSafe for InheritanceRelation
impl Send for InheritanceRelation
impl Sync for InheritanceRelation
impl Unpin for InheritanceRelation
impl UnwindSafe for InheritanceRelation
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