pub struct Functions<Domain: SetSignature, Range: SetSignature> { /* private fields */ }Expand description
Represent all functions from domain to range
Implementations§
Source§impl<Domain: SetSignature, Range: SetSignature> Functions<Domain, Range>
impl<Domain: SetSignature, Range: SetSignature> Functions<Domain, Range>
Trait Implementations§
Source§impl<Domain: Clone + SetSignature, Range: Clone + SetSignature> Clone for Functions<Domain, Range>
impl<Domain: Clone + SetSignature, Range: Clone + SetSignature> Clone for Functions<Domain, Range>
Source§impl<Domain: FiniteSetSignature, Range: EqSignature + FiniteSetSignature> CountableSetSignature for Functions<Domain, Range>
impl<Domain: FiniteSetSignature, Range: EqSignature + FiniteSetSignature> CountableSetSignature for Functions<Domain, Range>
Source§impl<Domain: Debug + SetSignature, Range: Debug + SetSignature> Debug for Functions<Domain, Range>
impl<Domain: Debug + SetSignature, Range: Debug + SetSignature> Debug for Functions<Domain, Range>
impl<Domain: Eq + SetSignature, Range: Eq + SetSignature> Eq for Functions<Domain, Range>
Source§impl<Domain: FiniteSetSignature, Range: EqSignature + FiniteSetSignature> FiniteSetSignature for Functions<Domain, Range>
impl<Domain: FiniteSetSignature, Range: EqSignature + FiniteSetSignature> FiniteSetSignature for Functions<Domain, Range>
Source§impl<Domain: PartialEq + SetSignature, Range: PartialEq + SetSignature> PartialEq for Functions<Domain, Range>
impl<Domain: PartialEq + SetSignature, Range: PartialEq + SetSignature> PartialEq for Functions<Domain, Range>
Source§impl<Domain: FiniteSetSignature, Range: EqSignature> SetSignature for Functions<Domain, Range>
impl<Domain: FiniteSetSignature, Range: EqSignature> SetSignature for Functions<Domain, Range>
type Set = Vec<<Range as SetSignature>::Set>
Source§fn validate_element(&self, x: &Self::Set) -> Result<(), String>
fn validate_element(&self, x: &Self::Set) -> Result<(), String>
Some instances of
Self::Set may not be valid to represent elements of this set.
Return Ok(()) if x is a valid element and an Err explaining why if not.Source§fn is_element(&self, x: &Self::Set) -> bool
fn is_element(&self, x: &Self::Set) -> bool
Some instances of
Self::Set may not be valid to represent elements of this set.
Return true if x is a valid element and an false if not.impl<Domain: SetSignature, Range: SetSignature> Signature for Functions<Domain, Range>
impl<Domain: PartialEq + SetSignature, Range: PartialEq + SetSignature> StructuralPartialEq for Functions<Domain, Range>
Auto Trait Implementations§
impl<Domain, Range> Freeze for Functions<Domain, Range>
impl<Domain, Range> RefUnwindSafe for Functions<Domain, Range>where
Domain: RefUnwindSafe,
Range: RefUnwindSafe,
impl<Domain, Range> Send for Functions<Domain, Range>
impl<Domain, Range> Sync for Functions<Domain, Range>
impl<Domain, Range> Unpin for Functions<Domain, Range>
impl<Domain, Range> UnsafeUnpin for Functions<Domain, Range>where
Domain: UnsafeUnpin,
Range: UnsafeUnpin,
impl<Domain, Range> UnwindSafe for Functions<Domain, Range>where
Domain: UnwindSafe,
Range: 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
impl<S, BS> BorrowedSet<S> for BS
impl<S, BS> BorrowedStructure<S> for BS
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more