pub struct PointerSet(/* private fields */);Implementations§
Source§impl PointerSet
impl PointerSet
pub fn new() -> Self
pub fn insert(&mut self, ptr: PointerType)
pub fn remove(&mut self, ptr: PointerType)
pub fn contains(self, ptr: PointerType) -> bool
pub fn union(self, other: PointerSet) -> PointerSet
pub fn is_empty(self) -> bool
pub fn iter(self) -> PointerSetIter ⓘ
Trait Implementations§
Source§impl Clone for PointerSet
impl Clone for PointerSet
Source§fn clone(&self) -> PointerSet
fn clone(&self) -> PointerSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointerSet
impl Debug for PointerSet
Source§impl Default for PointerSet
impl Default for PointerSet
Source§fn default() -> PointerSet
fn default() -> PointerSet
Returns the “default value” for a type. Read more
Source§impl FromIterator<PointerType> for PointerSet
impl FromIterator<PointerType> for PointerSet
Source§fn from_iter<T: IntoIterator<Item = PointerType>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = PointerType>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl PartialEq for PointerSet
impl PartialEq for PointerSet
Source§fn eq(&self, other: &PointerSet) -> bool
fn eq(&self, other: &PointerSet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PointerSet
impl Eq for PointerSet
impl StructuralPartialEq for PointerSet
Auto Trait Implementations§
impl Freeze for PointerSet
impl RefUnwindSafe for PointerSet
impl Send for PointerSet
impl Sync for PointerSet
impl Unpin for PointerSet
impl UnsafeUnpin for PointerSet
impl UnwindSafe for PointerSet
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