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