pub struct AirParam {
pub id: ValueId,
pub name: Option<String>,
pub index: u32,
pub param_type: Option<TypeId>,
}Expand description
A function parameter.
Fields§
§id: ValueIdValue ID for this parameter.
name: Option<String>Optional parameter name.
index: u32Parameter index (0-based).
param_type: Option<TypeId>Type of this parameter, if known.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AirParam
impl<'de> Deserialize<'de> for AirParam
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AirParam
Auto Trait Implementations§
impl Freeze for AirParam
impl RefUnwindSafe for AirParam
impl Send for AirParam
impl Sync for AirParam
impl Unpin for AirParam
impl UnsafeUnpin for AirParam
impl UnwindSafe for AirParam
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