Struct windows_metadata::MethodDef
source · [−]pub struct MethodDef(pub Row);
Tuple Fields
0: Row
Implementations
sourceimpl MethodDef
impl MethodDef
pub fn is_special(&self) -> bool
pub fn preserve_sig(&self) -> bool
pub fn params(&self) -> impl Iterator<Item = Param>
pub fn name(&self) -> &'static str
pub fn rust_name(&self) -> String
pub fn attributes(&self) -> impl Iterator<Item = Attribute>
pub fn is_deprecated(&self) -> bool
pub fn does_not_return(&self) -> bool
pub fn static_lib(&self) -> Option<String>
pub fn impl_map(&self) -> Option<ImplMap>
pub fn signature(&self, generics: &[Type]) -> Signature
pub fn cfg(&self) -> Cfg
Trait Implementations
sourceimpl Ord for MethodDef
impl Ord for MethodDef
sourceimpl PartialOrd<MethodDef> for MethodDef
impl PartialOrd<MethodDef> for MethodDef
sourcefn partial_cmp(&self, other: &MethodDef) -> Option<Ordering>
fn partial_cmp(&self, other: &MethodDef) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for MethodDef
impl StructuralEq for MethodDef
impl StructuralPartialEq for MethodDef
Auto Trait Implementations
impl RefUnwindSafe for MethodDef
impl Send for MethodDef
impl Sync for MethodDef
impl Unpin for MethodDef
impl UnwindSafe for MethodDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more