pub struct UsizeSet(pub usize);
Expand description
usize
のビット数個の要素をもつ集合を表す。
Tuple Fields§
§0: usize
Implementations§
Source§impl UsizeSet
impl UsizeSet
Sourcepub fn difference(self, rhs: Self) -> Self
pub fn difference(self, rhs: Self) -> Self
self
からrhs
を引いた差集合を返す。
Sourcepub fn intersection(self, rhs: Self) -> Self
pub fn intersection(self, rhs: Self) -> Self
2つの集合の共通部分を返す。
Sourcepub fn symmetric_difference(self, rhs: Self) -> Self
pub fn symmetric_difference(self, rhs: Self) -> Self
2つの集合の対象差を返す。
Trait Implementations§
Source§impl Ord for UsizeSet
impl Ord for UsizeSet
Source§impl PartialOrd for UsizeSet
impl PartialOrd for UsizeSet
impl Copy for UsizeSet
impl Eq for UsizeSet
impl StructuralPartialEq for UsizeSet
Auto Trait Implementations§
impl Freeze for UsizeSet
impl RefUnwindSafe for UsizeSet
impl Send for UsizeSet
impl Sync for UsizeSet
impl Unpin for UsizeSet
impl UnwindSafe for UsizeSet
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