pub struct CoerceDecl {
pub name: Ident,
pub params: Vec<ParamDecl>,
pub output: TypeSyntax,
pub body: BlockSource,
pub span: SourceSpan,
}Fields§
§name: Ident§params: Vec<ParamDecl>§output: TypeSyntax§body: BlockSource§span: SourceSpanTrait Implementations§
Source§impl Clone for CoerceDecl
impl Clone for CoerceDecl
Source§fn clone(&self) -> CoerceDecl
fn clone(&self) -> CoerceDecl
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 CoerceDecl
impl Debug for CoerceDecl
impl Eq for CoerceDecl
Source§impl PartialEq for CoerceDecl
impl PartialEq for CoerceDecl
impl StructuralPartialEq for CoerceDecl
Auto Trait Implementations§
impl Freeze for CoerceDecl
impl RefUnwindSafe for CoerceDecl
impl Send for CoerceDecl
impl Sync for CoerceDecl
impl Unpin for CoerceDecl
impl UnsafeUnpin for CoerceDecl
impl UnwindSafe for CoerceDecl
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