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 · 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
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§
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