Struct windows::Win32::Graphics::DirectWrite::IDWriteLocalizedStrings
pub struct IDWriteLocalizedStrings(/* private fields */);
Implementations§
§impl IDWriteLocalizedStrings
impl IDWriteLocalizedStrings
pub unsafe fn GetCount(&self) -> u32
pub unsafe fn FindLocaleName<P0>(
&self,
localename: P0,
index: *mut u32,
exists: *mut BOOL
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetLocaleNameLength(&self, index: u32) -> Result<u32>
pub unsafe fn GetLocaleName( &self, index: u32, localename: &mut [u16] ) -> Result<()>
pub unsafe fn GetStringLength(&self, index: u32) -> Result<u32>
pub unsafe fn GetString( &self, index: u32, stringbuffer: &mut [u16] ) -> Result<()>
Trait Implementations§
§impl Clone for IDWriteLocalizedStrings
impl Clone for IDWriteLocalizedStrings
§fn clone(&self) -> IDWriteLocalizedStrings
fn clone(&self) -> IDWriteLocalizedStrings
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 IDWriteLocalizedStrings
impl Debug for IDWriteLocalizedStrings
§impl From<&IDWriteLocalizedStrings> for &IUnknown
impl From<&IDWriteLocalizedStrings> for &IUnknown
§fn from(value: &IDWriteLocalizedStrings) -> Self
fn from(value: &IDWriteLocalizedStrings) -> Self
Converts to this type from the input type.
§impl From<IDWriteLocalizedStrings> for IUnknown
impl From<IDWriteLocalizedStrings> for IUnknown
§fn from(value: IDWriteLocalizedStrings) -> Self
fn from(value: IDWriteLocalizedStrings) -> Self
Converts to this type from the input type.
§impl Interface for IDWriteLocalizedStrings
impl Interface for IDWriteLocalizedStrings
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IDWriteLocalizedStrings
impl PartialEq for IDWriteLocalizedStrings
§fn eq(&self, other: &IDWriteLocalizedStrings) -> bool
fn eq(&self, other: &IDWriteLocalizedStrings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDWriteLocalizedStrings
impl Send for IDWriteLocalizedStrings
impl StructuralPartialEq for IDWriteLocalizedStrings
impl Sync for IDWriteLocalizedStrings
Auto Trait Implementations§
impl RefUnwindSafe for IDWriteLocalizedStrings
impl Unpin for IDWriteLocalizedStrings
impl UnwindSafe for IDWriteLocalizedStrings
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