pub struct FunctionParameterProjection { /* private fields */ }Expand description
One ordered projected function parameter.
Implementations§
Source§impl FunctionParameterProjection
impl FunctionParameterProjection
Sourcepub const fn new(
name: Label,
target_name: TargetIdentifier,
type_ref: ProjectedTypeRef,
) -> Self
pub const fn new( name: Label, target_name: TargetIdentifier, type_ref: ProjectedTypeRef, ) -> Self
Construct one typed function parameter.
Sourcepub const fn target_name(&self) -> &TargetIdentifier
pub const fn target_name(&self) -> &TargetIdentifier
Return the emitted parameter name.
Sourcepub const fn type_ref(&self) -> &ProjectedTypeRef
pub const fn type_ref(&self) -> &ProjectedTypeRef
Return the exact resolved parameter type.
Trait Implementations§
Source§impl Clone for FunctionParameterProjection
impl Clone for FunctionParameterProjection
Source§impl Debug for FunctionParameterProjection
impl Debug for FunctionParameterProjection
impl Eq for FunctionParameterProjection
impl StructuralPartialEq for FunctionParameterProjection
Auto Trait Implementations§
impl Freeze for FunctionParameterProjection
impl RefUnwindSafe for FunctionParameterProjection
impl Send for FunctionParameterProjection
impl Sync for FunctionParameterProjection
impl Unpin for FunctionParameterProjection
impl UnsafeUnpin for FunctionParameterProjection
impl UnwindSafe for FunctionParameterProjection
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