pub enum DynTypeTraits {
Auto,
Custom(Vec<IdentPath>),
}
Expand description
Defines which additional traits should be implemented by the generated traits of dynamic types.
Variants§
Auto
The traits will be detected automatically.
Custom(Vec<IdentPath>)
List of trait identifiers that will be implemented.
Trait Implementations§
Source§impl Debug for DynTypeTraits
impl Debug for DynTypeTraits
Source§impl Default for DynTypeTraits
impl Default for DynTypeTraits
Source§fn default() -> DynTypeTraits
fn default() -> DynTypeTraits
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DynTypeTraits
impl RefUnwindSafe for DynTypeTraits
impl !Send for DynTypeTraits
impl !Sync for DynTypeTraits
impl Unpin for DynTypeTraits
impl UnwindSafe for DynTypeTraits
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