Struct edgedb_protocol::descriptors::ShapeElement
source · [−]pub struct ShapeElement {
pub flag_implicit: bool,
pub flag_link_property: bool,
pub flag_link: bool,
pub cardinality: Option<Cardinality>,
pub name: String,
pub type_pos: TypePos,
}
Fields
flag_implicit: bool
flag_link_property: bool
flag_link: bool
cardinality: Option<Cardinality>
name: String
type_pos: TypePos
Trait Implementations
sourceimpl Clone for ShapeElement
impl Clone for ShapeElement
sourcefn clone(&self) -> ShapeElement
fn clone(&self) -> ShapeElement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ShapeElement
impl Debug for ShapeElement
sourceimpl PartialEq<ShapeElement> for ShapeElement
impl PartialEq<ShapeElement> for ShapeElement
sourcefn eq(&self, other: &ShapeElement) -> bool
fn eq(&self, other: &ShapeElement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ShapeElement) -> bool
fn ne(&self, other: &ShapeElement) -> bool
This method tests for !=
.
impl Eq for ShapeElement
impl StructuralEq for ShapeElement
impl StructuralPartialEq for ShapeElement
Auto Trait Implementations
impl RefUnwindSafe for ShapeElement
impl Send for ShapeElement
impl Sync for ShapeElement
impl Unpin for ShapeElement
impl UnwindSafe for ShapeElement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more