Struct windows_metadata::TypeName
source · [−]Fields
namespace: &'static str
name: &'static str
Implementations
sourceimpl TypeName
impl TypeName
pub const None: Self
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 TimeSpan: Self
pub const HResult: Self
pub const IAsyncAction: Self
pub const IAsyncActionWithProgress: Self
pub const IAsyncOperation: Self
pub const IAsyncOperationWithProgress: Self
pub const Vector2: Self
pub const Vector3: Self
pub const Vector4: 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 WIN32_ERROR: Self
pub const NTSTATUS: Self
pub const BOOL: Self
pub const PWSTR: Self
pub const PSTR: Self
pub const BSTR: Self
pub const HANDLE: Self
pub const HRESULT: Self
pub const D2D_MATRIX_3X2_F: Self
pub const IUnknown: Self
pub const HSTRING: Self
pub const IInspectable: Self
pub const LARGE_INTEGER: Self
pub const ULARGE_INTEGER: Self
pub const IRestrictedErrorInfo: Self
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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