#[non_exhaustive]pub enum InheritanceSource {
IsaAssignment,
UseParent,
UseBase,
}Expand description
Source shape that established an inheritance edge.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for InheritanceSource
impl Clone for InheritanceSource
Source§fn clone(&self) -> InheritanceSource
fn clone(&self) -> InheritanceSource
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 moreSource§impl Debug for InheritanceSource
impl Debug for InheritanceSource
Source§impl Hash for InheritanceSource
impl Hash for InheritanceSource
Source§impl PartialEq for InheritanceSource
impl PartialEq for InheritanceSource
Source§fn eq(&self, other: &InheritanceSource) -> bool
fn eq(&self, other: &InheritanceSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InheritanceSource
impl Eq for InheritanceSource
impl StructuralPartialEq for InheritanceSource
Auto Trait Implementations§
impl Freeze for InheritanceSource
impl RefUnwindSafe for InheritanceSource
impl Send for InheritanceSource
impl Sync for InheritanceSource
impl Unpin for InheritanceSource
impl UnsafeUnpin for InheritanceSource
impl UnwindSafe for InheritanceSource
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