pub enum FnSelfKind {
Struct(StructPtr),
DrawShader(DrawShaderPtr),
}
Variants
Struct(StructPtr)
DrawShader(DrawShaderPtr)
Implementations
sourceimpl FnSelfKind
impl FnSelfKind
pub fn to_ty_expr_kind(self) -> TyExprKind
Trait Implementations
sourceimpl Clone for FnSelfKind
impl Clone for FnSelfKind
sourcefn clone(&self) -> FnSelfKind
fn clone(&self) -> FnSelfKind
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FnSelfKind
impl Debug for FnSelfKind
sourceimpl Hash for FnSelfKind
impl Hash for FnSelfKind
sourceimpl Ord for FnSelfKind
impl Ord for FnSelfKind
sourcefn cmp(&self, other: &FnSelfKind) -> Ordering
fn cmp(&self, other: &FnSelfKind) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<FnSelfKind> for FnSelfKind
impl PartialEq<FnSelfKind> for FnSelfKind
sourcefn eq(&self, other: &FnSelfKind) -> bool
fn eq(&self, other: &FnSelfKind) -> bool
sourceimpl PartialOrd<FnSelfKind> for FnSelfKind
impl PartialOrd<FnSelfKind> for FnSelfKind
sourcefn partial_cmp(&self, other: &FnSelfKind) -> Option<Ordering>
fn partial_cmp(&self, other: &FnSelfKind) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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