pub struct Inheritance<'a> {
    pub colon: Colon,
    pub identifier: Identifier<'a>,
}Expand description
Parses inheritance clause : identifier
Fields§
§colon: Colon§identifier: Identifier<'a>Trait Implementations§
Source§impl<'a> Clone for Inheritance<'a>
 
impl<'a> Clone for Inheritance<'a>
Source§fn clone(&self) -> Inheritance<'a>
 
fn clone(&self) -> Inheritance<'a>
Returns a copy 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<'a> Debug for Inheritance<'a>
 
impl<'a> Debug for Inheritance<'a>
Source§impl<'a> Hash for Inheritance<'a>
 
impl<'a> Hash for Inheritance<'a>
Source§impl<'a> Ord for Inheritance<'a>
 
impl<'a> Ord for Inheritance<'a>
Source§fn cmp(&self, other: &Inheritance<'a>) -> Ordering
 
fn cmp(&self, other: &Inheritance<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for Inheritance<'a>
 
impl<'a> Parse<'a> for Inheritance<'a>
Source§impl<'a> PartialEq for Inheritance<'a>
 
impl<'a> PartialEq for Inheritance<'a>
Source§impl<'a> PartialOrd for Inheritance<'a>
 
impl<'a> PartialOrd for Inheritance<'a>
impl<'a> Copy for Inheritance<'a>
impl<'a> Eq for Inheritance<'a>
impl<'a> StructuralPartialEq for Inheritance<'a>
Auto Trait Implementations§
impl<'a> Freeze for Inheritance<'a>
impl<'a> RefUnwindSafe for Inheritance<'a>
impl<'a> Send for Inheritance<'a>
impl<'a> Sync for Inheritance<'a>
impl<'a> Unpin for Inheritance<'a>
impl<'a> UnwindSafe for Inheritance<'a>
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