pub struct FLOAT(pub f32);Expand description
Single precision (4-byte) IEEE format.
Tuple Fields§
§0: f32Implementations§
Source§impl FLOAT
impl FLOAT
Sourcepub fn values<T: AsRef<[f32]>>(values: T) -> TiffTypeValues<FLOAT>
pub fn values<T: AsRef<[f32]>>(values: T) -> TiffTypeValues<FLOAT>
Constructs a TiffTypeValues of FLOATs from a vector of
f32.
Sourcepub fn single(value: f32) -> TiffTypeValues<FLOAT>
pub fn single(value: f32) -> TiffTypeValues<FLOAT>
Constructs a TiffTypeValues consisting of a single FLOAT.
In other words, marks this FLOAT as the single value of its
field.
Trait Implementations§
impl StructuralPartialEq for FLOAT
Auto Trait Implementations§
impl Freeze for FLOAT
impl RefUnwindSafe for FLOAT
impl Send for FLOAT
impl Sync for FLOAT
impl Unpin for FLOAT
impl UnwindSafe for FLOAT
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