pub enum Namespace<'a> {
Id(i32),
NameOrAlias(&'a str),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Namespace<'a>
impl<'a> RefUnwindSafe for Namespace<'a>
impl<'a> Send for Namespace<'a>
impl<'a> Sync for Namespace<'a>
impl<'a> Unpin for Namespace<'a>
impl<'a> UnwindSafe for Namespace<'a>
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