pub struct ParamNode {
pub node_id: NodeId,
pub name: String,
pub direction: ParamDirection,
pub type_: Ref<TypeNode>,
pub parent: Id<OperationNode>,
pub facets: Facets,
}Expand description
An operation parameter. Spec §3.4.
Fields§
§node_id: NodeIdStable identity.
name: StringSimple name.
direction: ParamDirectionPassing direction.
type_: Ref<TypeNode>Declared type.
parent: Id<OperationNode>The operation this parameter belongs to.
facets: FacetsPer-source information. Spec §4.
Trait Implementations§
impl Eq for ParamNode
impl StructuralPartialEq for ParamNode
Auto Trait Implementations§
impl Freeze for ParamNode
impl RefUnwindSafe for ParamNode
impl Send for ParamNode
impl Sync for ParamNode
impl Unpin for ParamNode
impl UnsafeUnpin for ParamNode
impl UnwindSafe for ParamNode
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