pub enum NameTakenBy {
Type,
Class,
}Expand description
What had a class’s name first — see Error::ClassNameTaken.
Variants§
Trait Implementations§
Source§impl Clone for NameTakenBy
impl Clone for NameTakenBy
Source§fn clone(&self) -> NameTakenBy
fn clone(&self) -> NameTakenBy
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 NameTakenBy
Source§impl Debug for NameTakenBy
impl Debug for NameTakenBy
Source§impl PartialEq for NameTakenBy
impl PartialEq for NameTakenBy
impl StructuralPartialEq for NameTakenBy
Auto Trait Implementations§
impl Freeze for NameTakenBy
impl RefUnwindSafe for NameTakenBy
impl Send for NameTakenBy
impl Sync for NameTakenBy
impl Unpin for NameTakenBy
impl UnsafeUnpin for NameTakenBy
impl UnwindSafe for NameTakenBy
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