pub struct MemberShape {
pub name: Symbol,
pub shape: ShapeRef,
}Expand description
One named member and the Shape promised for its value.
Fields§
§name: Symbol§shape: ShapeRefTrait Implementations§
Source§impl Clone for MemberShape
impl Clone for MemberShape
Source§fn clone(&self) -> MemberShape
fn clone(&self) -> MemberShape
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for MemberShape
impl !UnwindSafe for MemberShape
impl Freeze for MemberShape
impl Send for MemberShape
impl Sync for MemberShape
impl Unpin for MemberShape
impl UnsafeUnpin for MemberShape
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