pub struct FieldDecl {
pub span: Span,
pub name: String,
pub ty: TypeExpr,
pub unit: Option<String>,
pub support: FieldSupport,
pub representation: FieldRepresentation,
}Expand description
A field declaration (T28).
field pressure_ambient: Pressure
unit: <qudt:KiloPascal>
support: region
representation: grid;Fields§
§span: Span§name: String§ty: TypeExpr§unit: Option<String>Unit IRI (e.g. qudt:KiloPascal). Optional — dimensionless fields
have no unit.
support: FieldSupportSupport: how the field is distributed in space.
region (grid), point (sampled), continuant (attached to an
enduring thing), stream (time-series).
representation: FieldRepresentationRepresentation: how the field is stored/computed.
grid, mesh, particles, analytic, sampled.
Trait Implementations§
impl StructuralPartialEq for FieldDecl
Auto Trait Implementations§
impl Freeze for FieldDecl
impl RefUnwindSafe for FieldDecl
impl Send for FieldDecl
impl Sync for FieldDecl
impl Unpin for FieldDecl
impl UnsafeUnpin for FieldDecl
impl UnwindSafe for FieldDecl
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