pub struct NameClash {
pub name: String,
pub first: Owner,
pub second: Owner,
}Expand description
A name that two parts of the generated code would both use.
Fields§
§name: String§first: Owner§second: OwnerTrait Implementations§
impl Eq for NameClash
Source§impl Error for NameClash
impl Error for NameClash
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for NameClash
Auto Trait Implementations§
impl Forget for NameClash
impl Freeze for NameClash
impl Move for NameClash
impl RefUnwindSafe for NameClash
impl Send for NameClash
impl Sync for NameClash
impl Unpin for NameClash
impl UnsafeUnpin for NameClash
impl UnwindSafe for NameClash
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