[−][src]Enum rain_lang::value::primitive::logical::Binary
Binary logical operations
Variants
Logical AND
Logical OR
Logical XOR
Logical NAND
Logical NOR
Boolean equality
Implication
Reverse implication
Methods
impl Binary
[src]
pub fn get_string(&self) -> &'static str
[src]
Get the string representing each logical operation
pub fn apply(&self, left: bool, right: bool) -> bool
[src]
Fully apply this logical operation
pub fn partial_apply(&self, arg: bool) -> Unary
[src]
Partially apply this logical operation
Trait Implementations
impl Clone for Binary
[src]
impl Copy for Binary
[src]
impl Debug for Binary
[src]
impl Display for Binary
[src]
impl Eq for Binary
[src]
impl From<Binary> for LogicalOp
[src]
impl From<Binary> for ValueEnum
[src]
impl From<Binary> for ValueData
[src]
impl From<Binary> for ValId
[src]
impl Hash for Binary
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl JEq<Binary> for LogicalOp
[src]
impl JEq<Binary> for Binary
[src]
impl JEq<Binary> for ValueEnum
[src]
impl JEq<Binary> for ValId
[src]
impl JEq<Binary> for Sexpr
[src]
impl JEq<Node<ValueData>> for Binary
[src]
impl JEq<Sexpr> for Binary
[src]
impl JEq<ValueEnum> for Binary
[src]
impl PartialEq<Binary> for LogicalOp
[src]
impl PartialEq<Binary> for Binary
[src]
impl StructuralEq for Binary
[src]
impl StructuralPartialEq for Binary
[src]
impl Value for Binary
[src]
impl ValueDesc for Binary
[src]
Auto Trait Implementations
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnwindSafe for Binary
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,