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