pub struct MethodSpec {
pub class_ref: ClassRef,
pub selector: String,
pub args: Vec<String>,
pub return_type: ReturnType,
pub doc: Option<String>,
}Fields§
§class_ref: ClassRef§selector: String§args: Vec<String>§return_type: ReturnType§doc: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MethodSpec
impl Clone for MethodSpec
Source§fn clone(&self) -> MethodSpec
fn clone(&self) -> MethodSpec
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 MethodSpec
impl Debug for MethodSpec
Source§impl PartialEq for MethodSpec
impl PartialEq for MethodSpec
Source§fn eq(&self, other: &MethodSpec) -> bool
fn eq(&self, other: &MethodSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MethodSpec
impl StructuralPartialEq for MethodSpec
Auto Trait Implementations§
impl Freeze for MethodSpec
impl RefUnwindSafe for MethodSpec
impl Send for MethodSpec
impl Sync for MethodSpec
impl Unpin for MethodSpec
impl UnsafeUnpin for MethodSpec
impl UnwindSafe for MethodSpec
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