pub struct CppUsingDeclarationBinding { /* private fields */ }Expand description
One using ns::Type; declaration at namespace scope: the name it
introduces and the canonical namespace of the entity it names.
An out-of-line member definition whose owner qualifier starts with that
name (void Type::method() {}) defines a member of ns::Type; the local
spelling never creates a second owner (#6902 item 4).
Trait Implementations§
Source§impl Clone for CppUsingDeclarationBinding
impl Clone for CppUsingDeclarationBinding
Source§impl Debug for CppUsingDeclarationBinding
impl Debug for CppUsingDeclarationBinding
impl Eq for CppUsingDeclarationBinding
impl StructuralPartialEq for CppUsingDeclarationBinding
Auto Trait Implementations§
impl Forget for CppUsingDeclarationBinding
impl Freeze for CppUsingDeclarationBinding
impl Move for CppUsingDeclarationBinding
impl RefUnwindSafe for CppUsingDeclarationBinding
impl Send for CppUsingDeclarationBinding
impl Sync for CppUsingDeclarationBinding
impl Unpin for CppUsingDeclarationBinding
impl UnsafeUnpin for CppUsingDeclarationBinding
impl UnwindSafe for CppUsingDeclarationBinding
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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