pub enum PrototypeOrImplementation {
Prototype,
Implementation,
}Variants§
Trait Implementations§
Source§impl Clone for PrototypeOrImplementation
impl Clone for PrototypeOrImplementation
Source§fn clone(&self) -> PrototypeOrImplementation
fn clone(&self) -> PrototypeOrImplementation
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 PrototypeOrImplementation
Source§impl Debug for PrototypeOrImplementation
impl Debug for PrototypeOrImplementation
Source§impl Default for PrototypeOrImplementation
impl Default for PrototypeOrImplementation
Source§fn default() -> PrototypeOrImplementation
fn default() -> PrototypeOrImplementation
Returns the “default value” for a type. Read more
impl Eq for PrototypeOrImplementation
Source§impl Hash for PrototypeOrImplementation
impl Hash for PrototypeOrImplementation
Source§impl PartialEq for PrototypeOrImplementation
impl PartialEq for PrototypeOrImplementation
Source§fn eq(&self, other: &PrototypeOrImplementation) -> bool
fn eq(&self, other: &PrototypeOrImplementation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrototypeOrImplementation
Auto Trait Implementations§
impl Freeze for PrototypeOrImplementation
impl RefUnwindSafe for PrototypeOrImplementation
impl Send for PrototypeOrImplementation
impl Sync for PrototypeOrImplementation
impl Unpin for PrototypeOrImplementation
impl UnsafeUnpin for PrototypeOrImplementation
impl UnwindSafe for PrototypeOrImplementation
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