pub struct Tan;Trait Implementations§
Source§impl<D: Dialect> FunctionFmt<D> for Tan
impl<D: Dialect> FunctionFmt<D> for Tan
fn base_function_name() -> &'static str
fn half_support() -> bool
fn function_name(elem: Elem<D>) -> String
fn format_unary<Input: Display>( f: &mut Formatter<'_>, input: Input, elem: Elem<D>, ) -> Result
Source§impl<D: Dialect> Unary<D> for Tan
impl<D: Dialect> Unary<D> for Tan
fn format_scalar<Input: Display>( f: &mut Formatter<'_>, input: Input, elem: Elem<D>, ) -> Result
fn can_optimize() -> bool
fn format( f: &mut Formatter<'_>, input: &Variable<D>, out: &Variable<D>, ) -> Result
fn unroll_vec( f: &mut Formatter<'_>, input: &Variable<D>, out: &Variable<D>, out_elem: Elem<D>, index: usize, ) -> Result
Auto Trait Implementations§
impl Freeze for Tan
impl RefUnwindSafe for Tan
impl Send for Tan
impl Sync for Tan
impl Unpin for Tan
impl UnwindSafe for Tan
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more