pub enum ADRuleKind {
Jvp,
Transpose,
}Expand description
Identifies which AD rule failed or is unavailable.
§Examples
use tidu::ADRuleKind;
assert_eq!(ADRuleKind::Jvp.as_str(), "jvp");
assert_eq!(ADRuleKind::Transpose.as_str(), "transpose");Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ADRuleKind
impl Clone for ADRuleKind
Source§fn clone(&self) -> ADRuleKind
fn clone(&self) -> ADRuleKind
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 ADRuleKind
impl Debug for ADRuleKind
Source§impl Hash for ADRuleKind
impl Hash for ADRuleKind
Source§impl PartialEq for ADRuleKind
impl PartialEq for ADRuleKind
impl Copy for ADRuleKind
impl Eq for ADRuleKind
impl StructuralPartialEq for ADRuleKind
Auto Trait Implementations§
impl Freeze for ADRuleKind
impl RefUnwindSafe for ADRuleKind
impl Send for ADRuleKind
impl Sync for ADRuleKind
impl Unpin for ADRuleKind
impl UnsafeUnpin for ADRuleKind
impl UnwindSafe for ADRuleKind
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