pub struct SetFamily<N: CddNumber = DefaultNumber> { /* private fields */ }Implementations§
Source§impl<N: CddNumber> SetFamily<N>
impl<N: CddNumber> SetFamily<N>
Sourcepub unsafe fn from_raw(ptr: *mut c_void) -> Self
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
§Safety
ptrmust be a non-nulldd_SetFamilyPtrcompatible with the backendN.- The pointer must be valid for the lifetime of this wrapper and must be owned by this wrapper (it will be freed on drop).
pub fn as_raw(&self) -> *mut c_void
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn universe_size(&self) -> usize
pub fn to_adjacency_lists(&self) -> Vec<Vec<usize>>
Trait Implementations§
Auto Trait Implementations§
impl<N> Freeze for SetFamily<N>
impl<N> RefUnwindSafe for SetFamily<N>where
N: RefUnwindSafe,
impl<N = f64> !Send for SetFamily<N>
impl<N = f64> !Sync for SetFamily<N>
impl<N> Unpin for SetFamily<N>where
N: Unpin,
impl<N> UnsafeUnpin for SetFamily<N>
impl<N> UnwindSafe for SetFamily<N>where
N: UnwindSafe,
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