pub struct SubprogSpec {
pub span: Span,
pub name: PrimaryName,
pub kind: SubprogKind,
pub purity: Option<SubprogPurity>,
pub generic_clause: Option<Vec<IntfDecl>>,
pub generic_map: Option<ParenElems>,
pub params: Option<Vec<IntfDecl>>,
pub retty: Option<CompoundName>,
}
Fields§
§span: Span
§name: PrimaryName
§kind: SubprogKind
§purity: Option<SubprogPurity>
§generic_clause: Option<Vec<IntfDecl>>
§generic_map: Option<ParenElems>
§params: Option<Vec<IntfDecl>>
§retty: Option<CompoundName>
Trait Implementations§
Source§impl Clone for SubprogSpec
impl Clone for SubprogSpec
Source§fn clone(&self) -> SubprogSpec
fn clone(&self) -> SubprogSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 SubprogSpec
impl Debug for SubprogSpec
Source§impl PartialEq for SubprogSpec
impl PartialEq for SubprogSpec
impl Eq for SubprogSpec
impl StructuralPartialEq for SubprogSpec
Auto Trait Implementations§
impl Freeze for SubprogSpec
impl RefUnwindSafe for SubprogSpec
impl Send for SubprogSpec
impl Sync for SubprogSpec
impl Unpin for SubprogSpec
impl UnwindSafe for SubprogSpec
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