Struct edgedb_protocol::codec::ObjectShape
source · [−]pub struct ObjectShape(_);
Implementations
sourceimpl ObjectShape
impl ObjectShape
pub fn new(elements: Vec<ShapeElement>) -> ObjectShape
Trait Implementations
sourceimpl Clone for ObjectShape
impl Clone for ObjectShape
sourcefn clone(&self) -> ObjectShape
fn clone(&self) -> ObjectShape
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 ObjectShape
impl Debug for ObjectShape
sourceimpl Deref for ObjectShape
impl Deref for ObjectShape
type Target = ObjectShapeInfo
type Target = ObjectShapeInfo
The resulting type after dereferencing.
sourcefn deref(&self) -> &ObjectShapeInfo
fn deref(&self) -> &ObjectShapeInfo
Dereferences the value.
sourceimpl<'a> From<&'a [ShapeElement]> for ObjectShape
impl<'a> From<&'a [ShapeElement]> for ObjectShape
sourcefn from(shape: &'a [ShapeElement]) -> ObjectShape
fn from(shape: &'a [ShapeElement]) -> ObjectShape
Converts to this type from the input type.
sourceimpl PartialEq<ObjectShape> for ObjectShape
impl PartialEq<ObjectShape> for ObjectShape
sourcefn eq(&self, other: &ObjectShape) -> bool
fn eq(&self, other: &ObjectShape) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ObjectShape) -> bool
fn ne(&self, other: &ObjectShape) -> bool
This method tests for !=
.
impl Eq for ObjectShape
impl StructuralEq for ObjectShape
impl StructuralPartialEq for ObjectShape
Auto Trait Implementations
impl RefUnwindSafe for ObjectShape
impl Send for ObjectShape
impl Sync for ObjectShape
impl Unpin for ObjectShape
impl UnwindSafe for ObjectShape
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