pub enum FnSelfKind {
Struct(StructPtr),
DrawShader(DrawShaderPtr),
}
Variants§
Struct(StructPtr)
DrawShader(DrawShaderPtr)
Implementations§
source§impl FnSelfKind
impl FnSelfKind
pub fn to_ty_expr_kind(self) -> TyExprKind
Trait Implementations§
source§impl Clone for FnSelfKind
impl Clone for FnSelfKind
source§fn clone(&self) -> FnSelfKind
fn clone(&self) -> FnSelfKind
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 FnSelfKind
impl Debug for FnSelfKind
source§impl Hash for FnSelfKind
impl Hash for FnSelfKind
source§impl Ord for FnSelfKind
impl Ord for FnSelfKind
source§fn cmp(&self, other: &FnSelfKind) -> Ordering
fn cmp(&self, other: &FnSelfKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FnSelfKind> for FnSelfKind
impl PartialEq<FnSelfKind> for FnSelfKind
source§fn eq(&self, other: &FnSelfKind) -> bool
fn eq(&self, other: &FnSelfKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FnSelfKind> for FnSelfKind
impl PartialOrd<FnSelfKind> for FnSelfKind
source§fn partial_cmp(&self, other: &FnSelfKind) -> Option<Ordering>
fn partial_cmp(&self, other: &FnSelfKind) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for FnSelfKind
impl Eq for FnSelfKind
impl StructuralEq for FnSelfKind
impl StructuralPartialEq for FnSelfKind
Auto Trait Implementations§
impl RefUnwindSafe for FnSelfKind
impl Send for FnSelfKind
impl Sync for FnSelfKind
impl Unpin for FnSelfKind
impl UnwindSafe for FnSelfKind
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