pub enum UsingList {
Library(IdentifierPath),
Functions(Vec<UsingFunction>),
Error,
}Expand description
A using list. See Using.
Variants§
Library(IdentifierPath)
A single identifier path.
Functions(Vec<UsingFunction>)
List of using functions.
{ <<identifier path> [ as <operator> ]>,* }
Error
An error occurred during parsing.
Trait Implementations§
Source§impl OptionalCodeLocation for UsingList
impl OptionalCodeLocation for UsingList
impl Eq for UsingList
impl StructuralPartialEq for UsingList
Auto Trait Implementations§
impl Freeze for UsingList
impl RefUnwindSafe for UsingList
impl Send for UsingList
impl Sync for UsingList
impl Unpin for UsingList
impl UnwindSafe for UsingList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more