pub struct Field {
pub name: String,
pub dtype: DataType,
pub values: ValueSemantics,
pub domain: usize,
pub location: Location,
pub components: Option<usize>,
}Expand description
Values on a domain.
Where the numbers come from is not part of this type: sources live in
wxy-source, so this crate stays free of I/O dependencies.
Fields§
§name: String§dtype: DataType§values: ValueSemantics§domain: usizeIndex into the owning collection’s domains.
location: Location§components: Option<usize>Index of a dim that holds vector components (u, v), if any.
A warp must rotate such fields, not resample them as scalars.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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