pub struct Cosh;Trait Implementations§
Source§impl<D: Dialect> FunctionFmt<D> for Cosh
impl<D: Dialect> FunctionFmt<D> for Cosh
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 Cosh
impl<D: Dialect> Unary<D> for Cosh
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 Cosh
impl RefUnwindSafe for Cosh
impl Send for Cosh
impl Sync for Cosh
impl Unpin for Cosh
impl UnwindSafe for Cosh
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