pub enum FnSelfKind {
Struct(StructPtr),
DrawShader(DrawShaderPtr),
}
Variants§
Struct(StructPtr)
DrawShader(DrawShaderPtr)
Implementations§
§impl FnSelfKind
impl FnSelfKind
pub fn to_ty_expr_kind(self) -> TyExprKind
Trait Implementations§
§impl Clone for FnSelfKind
impl Clone for FnSelfKind
§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 more§impl Debug for FnSelfKind
impl Debug for FnSelfKind
§impl Hash for FnSelfKind
impl Hash for FnSelfKind
§impl Ord for FnSelfKind
impl Ord for FnSelfKind
§impl PartialEq<FnSelfKind> for FnSelfKind
impl PartialEq<FnSelfKind> for FnSelfKind
§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 ==
.§impl PartialOrd<FnSelfKind> for FnSelfKind
impl PartialOrd<FnSelfKind> for FnSelfKind
§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