Struct support::descriptor::MethodType
source · pub struct MethodType {
pub parameters: Vec<FieldType>,
pub return_type: FieldType,
}
Expand description
Fields§
§parameters: Vec<FieldType>
§return_type: FieldType
Implementations§
Trait Implementations§
source§impl Clone for MethodType
impl Clone for MethodType
source§fn clone(&self) -> MethodType
fn clone(&self) -> MethodType
Returns a copy 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 MethodType
impl Debug for MethodType
source§impl PartialEq for MethodType
impl PartialEq for MethodType
source§fn eq(&self, other: &MethodType) -> bool
fn eq(&self, other: &MethodType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for MethodType
impl ToString for MethodType
impl StructuralPartialEq for MethodType
Auto Trait Implementations§
impl RefUnwindSafe for MethodType
impl Send for MethodType
impl Sync for MethodType
impl Unpin for MethodType
impl UnwindSafe for MethodType
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