pub struct ParamMeta {
pub name: NameId,
pub is_ref: bool,
}Expand description
Name + mode of one declared parameter of a container (T1c,
docs/t1c-spec.md §6). See ContainerDef::params.
Fields§
§name: NameIdThe parameter’s interned name.
is_ref: booltrue if declared ref, false for a by-value param.
Trait Implementations§
impl Copy for ParamMeta
impl Eq for ParamMeta
impl StructuralPartialEq for ParamMeta
Auto Trait Implementations§
impl Freeze for ParamMeta
impl RefUnwindSafe for ParamMeta
impl Send for ParamMeta
impl Sync for ParamMeta
impl Unpin for ParamMeta
impl UnsafeUnpin for ParamMeta
impl UnwindSafe for ParamMeta
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