pub struct Float32Type {
pub base: TypeDefinitionBase,
pub base_attr: RealBaseAttributes,
pub attr: Float32Attributes,
}
Fields§
§base: TypeDefinitionBase
§base_attr: RealBaseAttributes
§attr: Float32Attributes
Trait Implementations§
Source§impl BaseTypeTrait for Float32Type
impl BaseTypeTrait for Float32Type
Source§impl Debug for Float32Type
impl Debug for Float32Type
Source§impl Default for Float32Type
impl Default for Float32Type
Source§fn default() -> Float32Type
fn default() -> Float32Type
Returns the “default value” for a type. Read more
Source§impl PartialEq for Float32Type
impl PartialEq for Float32Type
Source§impl YaDeserialize for Float32Type
impl YaDeserialize for Float32Type
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
Source§impl YaSerialize for Float32Type
impl YaSerialize for Float32Type
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace, ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl StructuralPartialEq for Float32Type
Auto Trait Implementations§
impl Freeze for Float32Type
impl RefUnwindSafe for Float32Type
impl Send for Float32Type
impl Sync for Float32Type
impl Unpin for Float32Type
impl UnwindSafe for Float32Type
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