pub struct ArgDecl {
pub ty: Type,
pub unit: Option<Unit>,
pub valid: bool,
}Expand description
An argument declaration: {"type", "valid"}, plus unit for numbers.
Fields§
§ty: TypeThe argument’s type.
unit: Option<Unit>The unit; present exactly when the type is number.
valid: boolWhether this is a valid-time argument.
Trait Implementations§
impl Eq for ArgDecl
impl StructuralPartialEq for ArgDecl
Auto Trait Implementations§
impl Freeze for ArgDecl
impl RefUnwindSafe for ArgDecl
impl Send for ArgDecl
impl Sync for ArgDecl
impl Unpin for ArgDecl
impl UnsafeUnpin for ArgDecl
impl UnwindSafe for ArgDecl
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