pub struct ParameterDeclaration {
pub name: Located<String>,
pub ty: Located<ParameterType>,
}Expand description
Immutable request metadata retained beside a host’s lowered program. Text frontends introduce the name into scope at its written declaration, checking host reserved names and later binding/generator/projection collisions.
Fields§
§name: Located<String>§ty: Located<ParameterType>Trait Implementations§
Source§impl Clone for ParameterDeclaration
impl Clone for ParameterDeclaration
Source§fn clone(&self) -> ParameterDeclaration
fn clone(&self) -> ParameterDeclaration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterDeclaration
impl Debug for ParameterDeclaration
impl Eq for ParameterDeclaration
Source§impl PartialEq for ParameterDeclaration
impl PartialEq for ParameterDeclaration
impl StructuralPartialEq for ParameterDeclaration
Auto Trait Implementations§
impl Freeze for ParameterDeclaration
impl RefUnwindSafe for ParameterDeclaration
impl Send for ParameterDeclaration
impl Sync for ParameterDeclaration
impl Unpin for ParameterDeclaration
impl UnsafeUnpin for ParameterDeclaration
impl UnwindSafe for ParameterDeclaration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.