pub enum NeuralLabel {
Integer(i64),
Symbol(String),
}Expand description
A label in a neural predicate classification
Labels can be integers or symbols (identifiers).
Variants§
Trait Implementations§
Source§impl Clone for NeuralLabel
impl Clone for NeuralLabel
Source§fn clone(&self) -> NeuralLabel
fn clone(&self) -> NeuralLabel
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 moreSource§impl Debug for NeuralLabel
impl Debug for NeuralLabel
Source§impl PartialEq for NeuralLabel
impl PartialEq for NeuralLabel
Source§fn eq(&self, other: &NeuralLabel) -> bool
fn eq(&self, other: &NeuralLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NeuralLabel
Auto Trait Implementations§
impl Freeze for NeuralLabel
impl RefUnwindSafe for NeuralLabel
impl Send for NeuralLabel
impl Sync for NeuralLabel
impl Unpin for NeuralLabel
impl UnsafeUnpin for NeuralLabel
impl UnwindSafe for NeuralLabel
Blanket Implementations§
impl<T> Allocation for T
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