pub enum ImplMember {
Const(ImplConst),
Function(ImplFunction),
Type(ImplType),
MacroCall(MacroCall),
}Variants§
Implementations§
Source§impl ImplMember
impl ImplMember
pub fn into_const(self) -> Option<ImplConst>
pub fn into_function(self) -> Option<ImplFunction>
pub fn into_type(self) -> Option<ImplType>
pub fn into_macro_call(self) -> Option<MacroCall>
pub fn as_const(&self) -> Option<&ImplConst>
pub fn as_function(&self) -> Option<&ImplFunction>
pub fn as_type(&self) -> Option<&ImplType>
pub fn as_macro_call(&self) -> Option<&MacroCall>
pub fn is_const(&self) -> bool
pub fn is_function(&self) -> bool
pub fn is_type(&self) -> bool
pub fn is_macro_call(&self) -> bool
Trait Implementations§
Source§impl Debug for ImplMember
impl Debug for ImplMember
Source§impl<'a> Index<&'a ImplMember> for str
impl<'a> Index<&'a ImplMember> for str
Source§impl Index<ImplMember> for str
impl Index<ImplMember> for str
Auto Trait Implementations§
impl Freeze for ImplMember
impl RefUnwindSafe for ImplMember
impl Send for ImplMember
impl Sync for ImplMember
impl Unpin for ImplMember
impl UnsafeUnpin for ImplMember
impl UnwindSafe for ImplMember
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