pub enum ConstructorSurface {
BareCall,
ReadConstruct,
TaggedData,
}Expand description
How a constructed object is surfaced when encoded.
Variants§
Trait Implementations§
Source§impl Clone for ConstructorSurface
impl Clone for ConstructorSurface
Source§fn clone(&self) -> ConstructorSurface
fn clone(&self) -> ConstructorSurface
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 moreimpl Copy for ConstructorSurface
Source§impl Debug for ConstructorSurface
impl Debug for ConstructorSurface
impl Eq for ConstructorSurface
Source§impl PartialEq for ConstructorSurface
impl PartialEq for ConstructorSurface
Source§fn eq(&self, other: &ConstructorSurface) -> bool
fn eq(&self, other: &ConstructorSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstructorSurface
Auto Trait Implementations§
impl Freeze for ConstructorSurface
impl RefUnwindSafe for ConstructorSurface
impl Send for ConstructorSurface
impl Sync for ConstructorSurface
impl Unpin for ConstructorSurface
impl UnsafeUnpin for ConstructorSurface
impl UnwindSafe for ConstructorSurface
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