pub struct SetV {
pub k: SetK,
pub canon: Cell<u64>,
/* private fields */
}Fields§
§k: SetK§canon: Cell<u64>Implementations§
Source§impl SetV
impl SetV
pub fn new(k: SetK) -> SetV
pub fn of(elems: Vec<Value>) -> Value
Sourcepub fn fcn_shape(&self) -> R<&FcnShape>
pub fn fcn_shape(&self) -> R<&FcnShape>
The canonical shape of functions whose domain is this set (cached: it is shared by all such functions).
pub fn reducible(&self) -> bool
Sourcepub fn finite(&self) -> bool
pub fn finite(&self) -> bool
Is the set finite? An enumerable set is, and so is the set of k-subsets of a finite set, which is kept as it is and never enumerated.
pub fn enumerable(&self) -> bool
pub fn size(&self) -> R<i64>
pub fn contains(&self, v: &Value) -> R<bool>
Auto Trait Implementations§
impl !Freeze for SetV
impl !RefUnwindSafe for SetV
impl !Send for SetV
impl !Sync for SetV
impl !UnwindSafe for SetV
impl Forget for SetV
impl Move for SetV
impl Unpin for SetV
impl UnsafeUnpin for SetVwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const RcInner<SetV> is !null: UnsafeUnpin,
PhantomData<RcInner<SetV>>: UnsafeUnpin,
*const RcInner<Vec<StrId>> is !null: UnsafeUnpin,
PhantomData<RcInner<Vec<StrId>>>: UnsafeUnpin,
PhantomData<Rc<SetV>>: UnsafeUnpin,
*const FilterSet is !null: UnsafeUnpin,
PhantomData<FilterSet>: UnsafeUnpin,
*const RcInner<Vec<Value>> is !null: UnsafeUnpin,
PhantomData<RcInner<Vec<Value>>>: UnsafeUnpin,
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