pub trait FloatBits: CubePrimitive + CubeType<ExpandType: FloatBitsExpand<Bits = Self::Bits>> {
type Bits: CubePrimitive;
// Provided methods
fn __expand_from_bits(
scope: &mut Scope,
bits: ExpandElementTyped<Self::Bits>,
) -> ExpandElementTyped<Self> { ... }
fn __expand_to_bits(
scope: &mut Scope,
this: ExpandElementTyped<Self>,
) -> ExpandElementTyped<Self::Bits> { ... }
}Required Associated Types§
type Bits: CubePrimitive
Provided Methods§
fn __expand_from_bits( scope: &mut Scope, bits: ExpandElementTyped<Self::Bits>, ) -> ExpandElementTyped<Self>
fn __expand_to_bits( scope: &mut Scope, this: ExpandElementTyped<Self>, ) -> ExpandElementTyped<Self::Bits>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.