Struct windows_metadata::TypeName
source · pub struct TypeName<'a> {
pub namespace: &'a str,
pub name: &'a str,
}Fields§
§namespace: &'a str§name: &'a strImplementations§
source§impl<'a> TypeName<'a>
impl<'a> TypeName<'a>
pub const Enum: Self = _
pub const Delegate: Self = _
pub const Struct: Self = _
pub const Object: Self = _
pub const GUID: Self = _
pub const Type: Self = _
pub const Attribute: Self = _
pub const IsConst: Self = _
pub const HResult: Self = _
pub const IAsyncAction: Self = _
pub const IAsyncActionWithProgress: Self = _
pub const IAsyncOperation: Self = _
pub const IAsyncOperationWithProgress: Self = _
pub const Matrix3x2: Self = _
pub const Matrix4x4: Self = _
pub const IIterable: Self = _
pub const IIterator: Self = _
pub const IVectorView: Self = _
pub const IVector: Self = _
pub const NTSTATUS: Self = _
pub const PWSTR: Self = _
pub const PSTR: Self = _
pub const BSTR: Self = _
pub const HANDLE: Self = _
pub const HRESULT: Self = _
pub const CHAR: Self = _
pub const BOOL: Self = _
pub const WIN32_ERROR: Self = _
pub const D2D_MATRIX_3X2_F: Self = _
pub const D3DMATRIX: Self = _
pub const IUnknown: Self = _
pub const HSTRING: Self = _
pub const IInspectable: Self = _
pub const IRestrictedErrorInfo: Self = _
pub const IDispatch: Self = _
pub fn new(namespace: &'a str, name: &'a str) -> Self
pub fn parse(full_name: &'a str) -> Self
Trait Implementations§
source§impl<'a> Ord for TypeName<'a>
impl<'a> Ord for TypeName<'a>
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<'a> PartialEq<TypeName<'a>> for TypeName<'a>
impl<'a> PartialEq<TypeName<'a>> for TypeName<'a>
source§impl<'a> PartialOrd<TypeName<'a>> for TypeName<'a>
impl<'a> PartialOrd<TypeName<'a>> for TypeName<'a>
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<'a> Copy for TypeName<'a>
impl<'a> Eq for TypeName<'a>
impl<'a> StructuralEq for TypeName<'a>
impl<'a> StructuralPartialEq for TypeName<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TypeName<'a>
impl<'a> Send for TypeName<'a>
impl<'a> Sync for TypeName<'a>
impl<'a> Unpin for TypeName<'a>
impl<'a> UnwindSafe for TypeName<'a>
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