pub struct NameSetExt { /* private fields */ }Expand description
A set of names with fast membership testing.
Implementations§
Source§impl NameSetExt
impl NameSetExt
Sourcepub fn union(&self, other: &NameSetExt) -> NameSetExt
pub fn union(&self, other: &NameSetExt) -> NameSetExt
Returns the union with another set.
Sourcepub fn intersect(&self, other: &NameSetExt) -> NameSetExt
pub fn intersect(&self, other: &NameSetExt) -> NameSetExt
Returns the intersection with another set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NameSetExt
impl RefUnwindSafe for NameSetExt
impl Send for NameSetExt
impl Sync for NameSetExt
impl Unpin for NameSetExt
impl UnsafeUnpin for NameSetExt
impl UnwindSafe for NameSetExt
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