pub struct F32(/* private fields */);
Implementations§
Trait Implementations§
Source§impl AddAssign<&F32> for F32
impl AddAssign<&F32> for F32
Source§fn add_assign(&mut self, rhs: &F32)
fn add_assign(&mut self, rhs: &F32)
Performs the
+=
operation. Read moreSource§impl AddAssign for F32
impl AddAssign for F32
Source§fn add_assign(&mut self, rhs: F32)
fn add_assign(&mut self, rhs: F32)
Performs the
+=
operation. Read moreSource§impl Archive for F32
impl Archive for F32
Source§impl<'de> Deserialize<'de> for F32
impl<'de> Deserialize<'de> for F32
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<F32, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<F32, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<__D> Deserialize<F32, __D> for <F32 as Archive>::Archivedwhere
__D: Fallible + ?Sized,
OrderedFloat<f32>: Archive,
<OrderedFloat<f32> as Archive>::Archived: Deserialize<OrderedFloat<f32>, __D>,
impl<__D> Deserialize<F32, __D> for <F32 as Archive>::Archivedwhere
__D: Fallible + ?Sized,
OrderedFloat<f32>: Archive,
<OrderedFloat<f32> as Archive>::Archived: Deserialize<OrderedFloat<f32>, __D>,
Source§impl<'de, C> DeserializeWithContext<'de, C> for F32where
F32: Deserialize<'de>,
impl<'de, C> DeserializeWithContext<'de, C> for F32where
F32: Deserialize<'de>,
fn deserialize_with_context<D>(
deserializer: D,
_context: &'de C,
) -> Result<F32, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl DivAssign<&F32> for F32
impl DivAssign<&F32> for F32
Source§fn div_assign(&mut self, rhs: &F32)
fn div_assign(&mut self, rhs: &F32)
Performs the
/=
operation. Read moreSource§impl DivAssign for F32
impl DivAssign for F32
Source§fn div_assign(&mut self, rhs: F32)
fn div_assign(&mut self, rhs: F32)
Performs the
/=
operation. Read moreSource§impl MulAssign<&F32> for F32
impl MulAssign<&F32> for F32
Source§fn mul_assign(&mut self, rhs: &F32)
fn mul_assign(&mut self, rhs: &F32)
Performs the
*=
operation. Read moreSource§impl MulAssign for F32
impl MulAssign for F32
Source§fn mul_assign(&mut self, rhs: F32)
fn mul_assign(&mut self, rhs: F32)
Performs the
*=
operation. Read moreSource§impl Ord for F32
impl Ord for F32
Source§impl PartialEq<ArchivedF32> for F32where
OrderedFloat<f32>: Archive,
<OrderedFloat<f32> as Archive>::Archived: PartialEq<OrderedFloat<f32>>,
impl PartialEq<ArchivedF32> for F32where
OrderedFloat<f32>: Archive,
<OrderedFloat<f32> as Archive>::Archived: PartialEq<OrderedFloat<f32>>,
Source§impl PartialOrd<ArchivedF32> for F32where
OrderedFloat<f32>: Archive,
<OrderedFloat<f32> as Archive>::Archived: PartialOrd<OrderedFloat<f32>>,
impl PartialOrd<ArchivedF32> for F32where
OrderedFloat<f32>: Archive,
<OrderedFloat<f32> as Archive>::Archived: PartialOrd<OrderedFloat<f32>>,
Source§impl PartialOrd for F32
impl PartialOrd for F32
Source§impl Serialize for F32
impl Serialize for F32
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl<C> SerializeWithContext<C> for F32
impl<C> SerializeWithContext<C> for F32
fn serialize_with_context<S>(
&self,
serializer: S,
_context: &C,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize_fields_with_context<S>(
&self,
serializer: S,
context: &C,
_fields: &HashSet<String>,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Source§impl SizeOf for F32
impl SizeOf for F32
Source§fn size_of_children(&self, context: &mut Context)
fn size_of_children(&self, context: &mut Context)
Gets the size of all “children” owned by this value, not including the
size of the value itself. Read more
Source§fn size_of_with_context(&self, context: &mut Context)
fn size_of_with_context(&self, context: &mut Context)
Adds the size of the current value to the given
Context
,
including both the size of the value itself and all of its childrenSource§impl SubAssign<&F32> for F32
impl SubAssign<&F32> for F32
Source§fn sub_assign(&mut self, rhs: &F32)
fn sub_assign(&mut self, rhs: &F32)
Performs the
-=
operation. Read moreSource§impl SubAssign for F32
impl SubAssign for F32
Source§fn sub_assign(&mut self, rhs: F32)
fn sub_assign(&mut self, rhs: F32)
Performs the
-=
operation. Read moreimpl Copy for F32
impl Eq for F32
impl OptionWeightType for F32
impl StructuralPartialEq for F32
Auto Trait Implementations§
impl Freeze for F32
impl RefUnwindSafe for F32
impl Send for F32
impl Sync for F32
impl Unpin for F32
impl UnwindSafe for F32
Blanket Implementations§
Source§impl<T> AddAssignByRef for T
impl<T> AddAssignByRef for T
fn add_assign_by_ref(&mut self, other: &T)
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive
, it may be unsized. Read moreSource§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
Source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
Source§impl<T> ArchivedDBData for Twhere
T: Archive + Serialize<CompositeSerializer<FBufSerializer<FBuf>, FallbackScratch<HeapScratch<65536>, AllocScratch>, SharedSerializeMap>>,
<T as Archive>::Archived: Deserialize<T, SharedDeserializeMap> + Ord,
impl<T> ArchivedDBData for Twhere
T: Archive + Serialize<CompositeSerializer<FBufSerializer<FBuf>, FallbackScratch<HeapScratch<65536>, AllocScratch>, SharedSerializeMap>>,
<T as Archive>::Archived: Deserialize<T, SharedDeserializeMap> + Ord,
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> Comparable for T
impl<T> Comparable for T
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<T> Data for Twhere
T: DBData,
impl<T> Data for Twhere
T: DBData,
Source§fn default_hash(&self) -> u64
fn default_hash(&self) -> u64
Compute a hash of the object using default hasher and seed.
fn dyn_hash(&self, hasher: &mut dyn Hasher)
Source§fn as_data(&self) -> &(dyn Data + 'static)
fn as_data(&self) -> &(dyn Data + 'static)
Cast any type that implements this trait to
&dyn Data
. Read moreSource§fn as_data_mut(&mut self) -> &mut (dyn Data + 'static)
fn as_data_mut(&mut self) -> &mut (dyn Data + 'static)
Cast any type that implements this trait to
&mut dyn Data
. Read moreSource§impl<T> Deserializable for T
impl<T> Deserializable for T
Source§type ArchivedDeser = <T as Archive>::Archived
type ArchivedDeser = <T as Archive>::Archived
Deserialized type.
Source§impl<T> DeserializableDyn for Twhere
T: ArchivedDBData,
impl<T> DeserializableDyn for Twhere
T: ArchivedDBData,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<V> Erase<dyn Data> for V
impl<V> Erase<dyn Data> for V
Source§fn erase(&self) -> &(dyn Data + 'static)
fn erase(&self) -> &(dyn Data + 'static)
Convert a reference to
self
into a reference to Trait
.Source§fn erase_mut(&mut self) -> &mut (dyn Data + 'static)
fn erase_mut(&mut self) -> &mut (dyn Data + 'static)
Convert a mutable reference to
self
into a mutable reference to Trait
.Source§fn erase_archived(
archived: &<V as Archive>::Archived,
) -> &<dyn Data as ArchiveTrait>::Archived
fn erase_archived( archived: &<V as Archive>::Archived, ) -> &<dyn Data as ArchiveTrait>::Archived
Convert a reference to an archived representation of
Self
into a reference
to a trait object of type Trait::Archived
.Source§impl<V, T> Erase<dyn DataTyped<Type = T>> for Vwhere
V: DataTyped<Type = T> + ArchivedDBData,
DeserializeImpl<V, dyn DataTyped<Type = T>>: DeserializeDyn<dyn DataTyped<Type = T>>,
T: DBData,
impl<V, T> Erase<dyn DataTyped<Type = T>> for Vwhere
V: DataTyped<Type = T> + ArchivedDBData,
DeserializeImpl<V, dyn DataTyped<Type = T>>: DeserializeDyn<dyn DataTyped<Type = T>>,
T: DBData,
Source§fn erase(&self) -> &(dyn DataTyped<Type = T> + 'static)
fn erase(&self) -> &(dyn DataTyped<Type = T> + 'static)
Convert a reference to
self
into a reference to Trait
.Source§fn erase_mut(&mut self) -> &mut (dyn DataTyped<Type = T> + 'static)
fn erase_mut(&mut self) -> &mut (dyn DataTyped<Type = T> + 'static)
Convert a mutable reference to
self
into a mutable reference to Trait
.Source§fn erase_archived(
archived: &<V as Archive>::Archived,
) -> &<dyn DataTyped<Type = T> as ArchiveTrait>::Archived
fn erase_archived( archived: &<V as Archive>::Archived, ) -> &<dyn DataTyped<Type = T> as ArchiveTrait>::Archived
Convert a reference to an archived representation of
Self
into a reference
to a trait object of type Trait::Archived
.Source§impl<V> Erase<dyn Weight> for V
impl<V> Erase<dyn Weight> for V
Source§fn erase(&self) -> &(dyn Weight + 'static)
fn erase(&self) -> &(dyn Weight + 'static)
Convert a reference to
self
into a reference to Trait
.Source§fn erase_mut(&mut self) -> &mut (dyn Weight + 'static)
fn erase_mut(&mut self) -> &mut (dyn Weight + 'static)
Convert a mutable reference to
self
into a mutable reference to Trait
.Source§fn erase_archived(
archived: &<V as Archive>::Archived,
) -> &<dyn Weight as ArchiveTrait>::Archived
fn erase_archived( archived: &<V as Archive>::Archived, ) -> &<dyn Weight as ArchiveTrait>::Archived
Convert a reference to an archived representation of
Self
into a reference
to a trait object of type Trait::Archived
.Source§impl<V, T> Erase<dyn WeightTyped<Type = T>> for Vwhere
V: WeightTyped<Type = T> + ArchivedDBData,
DeserializeImpl<V, dyn WeightTyped<Type = T>>: DeserializeDyn<dyn WeightTyped<Type = T>>,
T: DBWeight,
impl<V, T> Erase<dyn WeightTyped<Type = T>> for Vwhere
V: WeightTyped<Type = T> + ArchivedDBData,
DeserializeImpl<V, dyn WeightTyped<Type = T>>: DeserializeDyn<dyn WeightTyped<Type = T>>,
T: DBWeight,
Source§fn erase(&self) -> &(dyn WeightTyped<Type = T> + 'static)
fn erase(&self) -> &(dyn WeightTyped<Type = T> + 'static)
Convert a reference to
self
into a reference to Trait
.Source§fn erase_mut(&mut self) -> &mut (dyn WeightTyped<Type = T> + 'static)
fn erase_mut(&mut self) -> &mut (dyn WeightTyped<Type = T> + 'static)
Convert a mutable reference to
self
into a mutable reference to Trait
.Source§fn erase_box(self: Box<V>) -> Box<dyn WeightTyped<Type = T>>
fn erase_box(self: Box<V>) -> Box<dyn WeightTyped<Type = T>>
Convert
Box<Self>
into Box<Trait>
.Source§fn erase_archived(
archived: &<V as Archive>::Archived,
) -> &<dyn WeightTyped<Type = T> as ArchiveTrait>::Archived
fn erase_archived( archived: &<V as Archive>::Archived, ) -> &<dyn WeightTyped<Type = T> as ArchiveTrait>::Archived
Convert a reference to an archived representation of
Self
into a reference
to a trait object of type Trait::Archived
.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
Source§impl<T> SerializeDyn for Twhere
T: ArchivedDBData,
impl<T> SerializeDyn for Twhere
T: ArchivedDBData,
fn serialize( &self, serializer: &mut CompositeSerializer<FBufSerializer<FBuf>, FallbackScratch<HeapScratch<65536>, AllocScratch>, SharedSerializeMap>, ) -> Result<usize, <CompositeSerializer<FBufSerializer<FBuf>, FallbackScratch<HeapScratch<65536>, AllocScratch>, SharedSerializeMap> as Fallible>::Error>
Source§impl<T, S> SerializeUnsized<S> for T
impl<T, S> SerializeUnsized<S> for T
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.