#[non_exhaustive]pub enum MemberKind {
Boolean,
Integer,
Float,
Complex,
External,
}Expand description
Kind of arithmetic a set member belongs to.
§Examples
use tenferro_tensor_core::MemberKind;
assert_ne!(MemberKind::Integer, MemberKind::Float);Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Boolean
Boolean.
Integer
Signed integer.
Float
Real floating point.
Complex
Complex floating point.
External
A scalar tenferro does not declare, so its facts are unknown.
Trait Implementations§
Source§impl Clone for MemberKind
impl Clone for MemberKind
Source§fn clone(&self) -> MemberKind
fn clone(&self) -> MemberKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemberKind
Source§impl Debug for MemberKind
impl Debug for MemberKind
impl Eq for MemberKind
Source§impl PartialEq for MemberKind
impl PartialEq for MemberKind
impl StructuralPartialEq for MemberKind
Auto Trait Implementations§
impl Freeze for MemberKind
impl RefUnwindSafe for MemberKind
impl Send for MemberKind
impl Sync for MemberKind
impl Unpin for MemberKind
impl UnsafeUnpin for MemberKind
impl UnwindSafe for MemberKind
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