#[repr(transparent)]pub struct GeluApproximation(pub u8);
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
Source§impl Clone for GeluApproximation
impl Clone for GeluApproximation
Source§fn clone(&self) -> GeluApproximation
fn clone(&self) -> GeluApproximation
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 GeluApproximation
impl Debug for GeluApproximation
Source§impl Default for GeluApproximation
impl Default for GeluApproximation
Source§fn default() -> GeluApproximation
fn default() -> GeluApproximation
Returns the “default value” for a type. Read more
Source§impl EndianScalar for GeluApproximation
impl EndianScalar for GeluApproximation
Source§impl<'a> Follow<'a> for GeluApproximation
impl<'a> Follow<'a> for GeluApproximation
Source§impl Hash for GeluApproximation
impl Hash for GeluApproximation
Source§impl Ord for GeluApproximation
impl Ord for GeluApproximation
Source§fn cmp(&self, other: &GeluApproximation) -> Ordering
fn cmp(&self, other: &GeluApproximation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GeluApproximation
impl PartialEq for GeluApproximation
Source§impl PartialOrd for GeluApproximation
impl PartialOrd for GeluApproximation
Source§impl Push for GeluApproximation
impl Push for GeluApproximation
Source§impl<'a> Verifiable for GeluApproximation
impl<'a> Verifiable for GeluApproximation
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl Copy for GeluApproximation
impl Eq for GeluApproximation
impl SimpleToVerifyInSlice for GeluApproximation
impl StructuralPartialEq for GeluApproximation
Auto Trait Implementations§
impl Freeze for GeluApproximation
impl RefUnwindSafe for GeluApproximation
impl Send for GeluApproximation
impl Sync for GeluApproximation
impl Unpin for GeluApproximation
impl UnwindSafe for GeluApproximation
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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