pub struct GenericMethodSignature {
pub parameters: Vec<GenericParameter>,
pub arguments: Vec<GenericType>,
pub returns: Option<GenericType>,
pub throws: Vec<GenericType>,
}Expand description
Parsed method generic signature.
Fields§
§parameters: Vec<GenericParameter>Formal type parameters.
arguments: Vec<GenericType>Generic argument types.
returns: Option<GenericType>Generic result type, or None for void.
throws: Vec<GenericType>Declared thrown types.
Trait Implementations§
Source§impl Clone for GenericMethodSignature
impl Clone for GenericMethodSignature
Source§impl Debug for GenericMethodSignature
impl Debug for GenericMethodSignature
impl Eq for GenericMethodSignature
Source§impl Hash for GenericMethodSignature
impl Hash for GenericMethodSignature
Source§impl PartialEq for GenericMethodSignature
impl PartialEq for GenericMethodSignature
impl StructuralPartialEq for GenericMethodSignature
Auto Trait Implementations§
impl Freeze for GenericMethodSignature
impl RefUnwindSafe for GenericMethodSignature
impl Send for GenericMethodSignature
impl Sync for GenericMethodSignature
impl Unpin for GenericMethodSignature
impl UnsafeUnpin for GenericMethodSignature
impl UnwindSafe for GenericMethodSignature
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.