pub struct OwnedShape {
pub name: String,
pub values: Vec<i64>,
}Expand description
An owned compile-time shape for incrementally assembled graphs.
Fields§
§name: String§values: Vec<i64>Implementations§
Trait Implementations§
Source§impl Clone for OwnedShape
impl Clone for OwnedShape
Source§fn clone(&self) -> OwnedShape
fn clone(&self) -> OwnedShape
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 OwnedShape
impl Debug for OwnedShape
impl Eq for OwnedShape
Source§impl From<Shape<'_>> for OwnedShape
impl From<Shape<'_>> for OwnedShape
Source§impl PartialEq for OwnedShape
impl PartialEq for OwnedShape
Source§fn eq(&self, other: &OwnedShape) -> bool
fn eq(&self, other: &OwnedShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OwnedShape
Auto Trait Implementations§
impl Freeze for OwnedShape
impl RefUnwindSafe for OwnedShape
impl Send for OwnedShape
impl Sync for OwnedShape
impl Unpin for OwnedShape
impl UnsafeUnpin for OwnedShape
impl UnwindSafe for OwnedShape
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