pub struct UsingNamespace<'a> {
pub namespace: &'a BStr,
}
Expand description
S_UNAMESPACE
- Using Namespace
Fields§
§namespace: &'a BStr
The namespace, e.g. std
Trait Implementations§
Source§impl<'a> Clone for UsingNamespace<'a>
impl<'a> Clone for UsingNamespace<'a>
Source§fn clone(&self) -> UsingNamespace<'a>
fn clone(&self) -> UsingNamespace<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for UsingNamespace<'a>
impl<'a> Debug for UsingNamespace<'a>
Source§impl<'a> Parse<'a> for UsingNamespace<'a>
impl<'a> Parse<'a> for UsingNamespace<'a>
Source§fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
Parses an instance of
Self
from a Parser
.
This allows the caller to detect which bytes were not consumed at the end of the input.Auto Trait Implementations§
impl<'a> Freeze for UsingNamespace<'a>
impl<'a> RefUnwindSafe for UsingNamespace<'a>
impl<'a> Send for UsingNamespace<'a>
impl<'a> Sync for UsingNamespace<'a>
impl<'a> Unpin for UsingNamespace<'a>
impl<'a> UnwindSafe for UsingNamespace<'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