[−][src]Enum windows_gen::TypeKind
Variants
Class(TypeName)Interface(TypeName)Enum(TypeName)Struct(TypeName)Delegate(TypeName)Generic(&'static str)Implementations
impl TypeKind[src]
pub fn signature(&self) -> String[src]
pub fn runtime_name(&self) -> String[src]
pub fn from_type_def(def: &TypeDef, calling_namespace: &'static str) -> Self[src]
pub fn from_type_ref(
type_ref: &TypeRef,
calling_namespace: &'static str
) -> Self[src]
type_ref: &TypeRef,
calling_namespace: &'static str
) -> Self
pub fn from_type_spec(
spec: &TypeSpec,
generics: &[Self],
calling_namespace: &'static str
) -> Self[src]
spec: &TypeSpec,
generics: &[Self],
calling_namespace: &'static str
) -> Self
pub fn dependencies(&self) -> Vec<TypeDef>[src]
pub fn gen(&self) -> TokenStream[src]
pub fn gen_full(&self) -> TokenStream[src]
pub fn gen_abi(&self) -> TokenStream[src]
pub fn gen_full_abi(&self) -> TokenStream[src]
pub fn gen_default(&self) -> TokenStream[src]
pub fn primitive(&self) -> bool[src]
Trait Implementations
impl Clone for TypeKind[src]
impl Debug for TypeKind[src]
impl Eq for TypeKind[src]
impl Ord for TypeKind[src]
pub fn cmp(&self, other: &TypeKind) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<TypeKind> for TypeKind[src]
impl PartialOrd<TypeKind> for TypeKind[src]
pub fn partial_cmp(&self, other: &TypeKind) -> Option<Ordering>[src]
pub fn lt(&self, other: &TypeKind) -> bool[src]
pub fn le(&self, other: &TypeKind) -> bool[src]
pub fn gt(&self, other: &TypeKind) -> bool[src]
pub fn ge(&self, other: &TypeKind) -> bool[src]
impl StructuralEq for TypeKind[src]
impl StructuralPartialEq for TypeKind[src]
Auto Trait Implementations
impl RefUnwindSafe for TypeKind[src]
impl Send for TypeKind[src]
impl Sync for TypeKind[src]
impl Unpin for TypeKind[src]
impl UnwindSafe for TypeKind[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,