Struct windows_metadata::reader::TypeName
source · [−]Fields
namespace: &'static str
name: &'static str
Implementations
sourceimpl TypeName
impl TypeName
pub const None: Self = Self::from_const("", "")
pub const Enum: Self = Self::from_const("System", "Enum")
pub const Delegate: Self = Self::from_const("System", "MulticastDelegate")
pub const Struct: Self = Self::from_const("System", "ValueType")
pub const Object: Self = Self::from_const("System", "Object")
pub const GUID: Self = Self::from_const("System", "Guid")
pub const Type: Self = Self::from_const("System", "Type")
pub const Attribute: Self = Self::from_const("System", "Attribute")
pub const IsConst: Self = Self::from_const("System.Runtime.CompilerServices", "IsConst")
pub const TimeSpan: Self = Self::from_const("Windows.Foundation", "TimeSpan")
pub const HResult: Self = Self::from_const("Windows.Foundation", "HResult")
pub const IAsyncAction: Self = Self::from_const("Windows.Foundation", "IAsyncAction")
pub const IAsyncActionWithProgress: Self = Self::from_const("Windows.Foundation", "IAsyncActionWithProgress")
pub const IAsyncOperation: Self = Self::from_const("Windows.Foundation", "IAsyncOperation")
pub const IAsyncOperationWithProgress: Self = Self::from_const("Windows.Foundation", "IAsyncOperationWithProgress")
pub const Vector2: Self = Self::from_const("Windows.Foundation.Numerics", "Vector2")
pub const Vector3: Self = Self::from_const("Windows.Foundation.Numerics", "Vector3")
pub const Vector4: Self = Self::from_const("Windows.Foundation.Numerics", "Vector4")
pub const Matrix3x2: Self = Self::from_const("Windows.Foundation.Numerics", "Matrix3x2")
pub const Matrix4x4: Self = Self::from_const("Windows.Foundation.Numerics", "Matrix4x4")
pub const IIterable: Self = Self::from_const("Windows.Foundation.Collections", "IIterable")
pub const IIterator: Self = Self::from_const("Windows.Foundation.Collections", "IIterator")
pub const IVectorView: Self = Self::from_const("Windows.Foundation.Collections", "IVectorView")
pub const IVector: Self = Self::from_const("Windows.Foundation.Collections", "IVector")
pub const WIN32_ERROR: Self = Self::from_const("Windows.Win32.Foundation", "WIN32_ERROR")
pub const NTSTATUS: Self = Self::from_const("Windows.Win32.Foundation", "NTSTATUS")
pub const BOOL: Self = Self::from_const("Windows.Win32.Foundation", "BOOL")
pub const PWSTR: Self = Self::from_const("Windows.Win32.Foundation", "PWSTR")
pub const PSTR: Self = Self::from_const("Windows.Win32.Foundation", "PSTR")
pub const BSTR: Self = Self::from_const("Windows.Win32.Foundation", "BSTR")
pub const HRESULT: Self = Self::from_const("Windows.Win32.Foundation", "HRESULT")
pub const D2D_MATRIX_3X2_F: Self = Self::from_const("Windows.Win32.Graphics.Direct2D.Common", "D2D_MATRIX_3X2_F")
pub const IUnknown: Self = Self::from_const("Windows.Win32.System.Com", "IUnknown")
pub const HSTRING: Self = Self::from_const("Windows.Win32.System.WinRT", "HSTRING")
pub const IInspectable: Self = Self::from_const("Windows.Win32.System.WinRT", "IInspectable")
pub const LARGE_INTEGER: Self = Self::from_const("Windows.Win32.Foundation", "LARGE_INTEGER")
pub const ULARGE_INTEGER: Self = Self::from_const("Windows.Win32.Foundation", "ULARGE_INTEGER")
pub const IRestrictedErrorInfo: Self = Self::from_const("Windows.Win32.System.WinRT", "IRestrictedErrorInfo")
pub const IDispatch: Self = Self::from_const("Windows.Win32.System.Com", "IDispatch")
pub fn new(namespace: &'static str, name: &'static str) -> Self
pub fn parse(full_name: &str) -> (&str, &str)
Trait Implementations
sourceimpl Ord for TypeName
impl Ord for TypeName
sourceimpl PartialOrd<TypeName> for TypeName
impl PartialOrd<TypeName> for TypeName
sourcefn partial_cmp(&self, other: &TypeName) -> Option<Ordering>
fn partial_cmp(&self, other: &TypeName) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for TypeName
impl Eq for TypeName
impl StructuralEq for TypeName
impl StructuralPartialEq for TypeName
Auto Trait Implementations
impl RefUnwindSafe for TypeName
impl Send for TypeName
impl Sync for TypeName
impl Unpin for TypeName
impl UnwindSafe for TypeName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more