pub enum NarrowingShape {
Narrowed(Vec<Shape>),
Any,
}Variants§
Trait Implementations§
Source§impl Clone for NarrowingShape
impl Clone for NarrowingShape
Source§fn clone(&self) -> NarrowingShape
fn clone(&self) -> NarrowingShape
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 NarrowingShape
impl Debug for NarrowingShape
Source§impl PartialEq for NarrowingShape
impl PartialEq for NarrowingShape
Source§fn eq(&self, other: &NarrowingShape) -> bool
fn eq(&self, other: &NarrowingShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NarrowingShape
Auto Trait Implementations§
impl !Send for NarrowingShape
impl !Sync for NarrowingShape
impl Freeze for NarrowingShape
impl RefUnwindSafe for NarrowingShape
impl Unpin for NarrowingShape
impl UnsafeUnpin for NarrowingShape
impl UnwindSafe for NarrowingShape
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