Enum donet_core::dcfield::FieldParent
source · pub enum FieldParent<'dc> {
DClass(&'dc DClass<'dc>),
Strukt(&'dc DCStruct<'dc>),
}
Expand description
A DC field element can be declared within a dclass or a struct declaration. The DC field element must have a reference to its parent, which is stored in this enum type.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'dc> Freeze for FieldParent<'dc>
impl<'dc> RefUnwindSafe for FieldParent<'dc>
impl<'dc> Send for FieldParent<'dc>
impl<'dc> Sync for FieldParent<'dc>
impl<'dc> Unpin for FieldParent<'dc>
impl<'dc> UnwindSafe for FieldParent<'dc>
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