pub enum UseTail {
Ident(UseTailIdent),
Glob(UseTailGlob),
Multi(UseTailMulti),
}Variants§
Implementations§
Source§impl UseTail
impl UseTail
pub fn into_ident(self) -> Option<UseTailIdent>
pub fn into_glob(self) -> Option<UseTailGlob>
pub fn into_multi(self) -> Option<UseTailMulti>
pub fn as_ident(&self) -> Option<&UseTailIdent>
pub fn as_glob(&self) -> Option<&UseTailGlob>
pub fn as_multi(&self) -> Option<&UseTailMulti>
pub fn is_ident(&self) -> bool
pub fn is_glob(&self) -> bool
pub fn is_multi(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UseTail
impl RefUnwindSafe for UseTail
impl Send for UseTail
impl Sync for UseTail
impl Unpin for UseTail
impl UnsafeUnpin for UseTail
impl UnwindSafe for UseTail
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