pub struct AllocationDef {
pub identification: Identification,
pub specializes: Option<String>,
pub specializes_span: Option<Span>,
pub body: DefinitionBody,
}Expand description
Allocation definition: allocation def Identification body.
Fields§
§identification: Identification§specializes: Option<String>§specializes_span: Option<Span>§body: DefinitionBodyTrait Implementations§
Source§impl Clone for AllocationDef
impl Clone for AllocationDef
Source§fn clone(&self) -> AllocationDef
fn clone(&self) -> AllocationDef
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 AllocationDef
impl Debug for AllocationDef
impl Eq for AllocationDef
Source§impl PartialEq for AllocationDef
impl PartialEq for AllocationDef
Source§fn eq(&self, other: &AllocationDef) -> bool
fn eq(&self, other: &AllocationDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AllocationDef
Auto Trait Implementations§
impl Freeze for AllocationDef
impl RefUnwindSafe for AllocationDef
impl Send for AllocationDef
impl Sync for AllocationDef
impl Unpin for AllocationDef
impl UnsafeUnpin for AllocationDef
impl UnwindSafe for AllocationDef
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