Enum weresocool_ast::generator::Axis
source · pub enum Axis {
F,
G,
L,
P,
}
Variants§
Implementations§
source§impl Axis
impl Axis
pub fn at_least_axis_minimum(&self, r: Rational64, div: usize) -> Rational64
pub fn evaluate_expr( &self, state: i64, div: usize, expr: &Expr, s: &str ) -> Result<Rational64, Error>
pub fn generate_expr( &self, state: i64, div: usize, expr: &Expr, s: &str ) -> Result<Op, Error>
Trait Implementations§
source§impl PartialEq<Axis> for Axis
impl PartialEq<Axis> for Axis
impl Eq for Axis
impl StructuralEq for Axis
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnwindSafe for Axis
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.