pub struct 位图 {
pub 位图: [u64; 16],
}Fields§
§位图: [u64; 16]Implementations§
Source§impl 位图
impl 位图
pub fn new() -> Self
pub fn 从条件列表创建(条件列表: &[条件], 棱镜: &棱镜) -> Self
pub fn insert(&mut self, i: usize)
pub fn remove(&mut self, i: usize)
pub fn subset(&self, other: &Self) -> bool
pub fn union(&self, other: &Self) -> Self
pub fn intersection(&self, other: &Self) -> Self
Trait Implementations§
impl Eq for 位图
impl StructuralPartialEq for 位图
Auto Trait Implementations§
impl Freeze for 位图
impl RefUnwindSafe for 位图
impl Send for 位图
impl Sync for 位图
impl Unpin for 位图
impl UnsafeUnpin for 位图
impl UnwindSafe for 位图
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§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.