pub enum TraitImplArgument {
SelfArgument(SelfArgument),
Named(TraitImplArgumentNamed),
}Variants§
SelfArgument(SelfArgument)
Named(TraitImplArgumentNamed)
Implementations§
Source§impl TraitImplArgument
impl TraitImplArgument
pub fn into_self_argument(self) -> Option<SelfArgument>
pub fn into_named(self) -> Option<TraitImplArgumentNamed>
pub fn as_self_argument(&self) -> Option<&SelfArgument>
pub fn as_named(&self) -> Option<&TraitImplArgumentNamed>
pub fn is_self_argument(&self) -> bool
pub fn is_named(&self) -> bool
Trait Implementations§
Source§impl Debug for TraitImplArgument
impl Debug for TraitImplArgument
Auto Trait Implementations§
impl Freeze for TraitImplArgument
impl RefUnwindSafe for TraitImplArgument
impl Send for TraitImplArgument
impl Sync for TraitImplArgument
impl Unpin for TraitImplArgument
impl UnsafeUnpin for TraitImplArgument
impl UnwindSafe for TraitImplArgument
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