pub struct RegistrySet<'a> { /* private fields */ }Implementations§
Source§impl<'a> RegistrySet<'a>
impl<'a> RegistrySet<'a>
Sourcepub fn intersection(self, other: RegistrySet<'a>) -> RegistrySet<'a>
pub fn intersection(self, other: RegistrySet<'a>) -> RegistrySet<'a>
The intersection of two registry sets
Sourcepub fn registries(&self) -> impl IntoIterator<Item = &'a dyn Registry>
pub fn registries(&self) -> impl IntoIterator<Item = &'a dyn Registry>
Gets the registries in this set
Trait Implementations§
Source§impl<'a> Default for RegistrySet<'a>
impl<'a> Default for RegistrySet<'a>
Source§fn default() -> RegistrySet<'a>
fn default() -> RegistrySet<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> FromIterator<&'a dyn Registry> for RegistrySet<'a>
impl<'a> FromIterator<&'a dyn Registry> for RegistrySet<'a>
Source§fn from_iter<T>(iter: T) -> RegistrySet<'a>where
T: IntoIterator<Item = &'a dyn Registry>,
fn from_iter<T>(iter: T) -> RegistrySet<'a>where
T: IntoIterator<Item = &'a dyn Registry>,
Creates a value from an iterator. Read more
Source§impl<'a> IntoIterator for RegistrySet<'a>
impl<'a> IntoIterator for RegistrySet<'a>
Auto Trait Implementations§
impl<'a> Freeze for RegistrySet<'a>
impl<'a> !RefUnwindSafe for RegistrySet<'a>
impl<'a> !Send for RegistrySet<'a>
impl<'a> !Sync for RegistrySet<'a>
impl<'a> Unpin for RegistrySet<'a>
impl<'a> !UnwindSafe for RegistrySet<'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
Source§impl<T> InstanceOf for T
impl<T> InstanceOf for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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