Struct windows::Win32::Globalization::IMLangString
pub struct IMLangString(/* private fields */);
Implementations§
§impl IMLangString
impl IMLangString
pub unsafe fn Sync<P0>(&self, fnoaccess: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn GetLength(&self, pllen: Option<*mut i32>) -> Result<()>
pub unsafe fn SetMLStr<P0>(
&self,
ldestpos: i32,
ldestlen: i32,
psrcmlstr: P0,
lsrcpos: i32,
lsrclen: i32
) -> Result<()>where
P0: IntoParam<IUnknown>,
pub unsafe fn GetMLStr<P0>(
&self,
lsrcpos: i32,
lsrclen: i32,
punkouter: P0,
dwclscontext: u32,
piid: *const GUID,
ppdestmlstr: *mut Option<IUnknown>,
pldestpos: Option<*mut i32>,
pldestlen: Option<*mut i32>
) -> Result<()>where
P0: IntoParam<IUnknown>,
Trait Implementations§
§impl Clone for IMLangString
impl Clone for IMLangString
§fn clone(&self) -> IMLangString
fn clone(&self) -> IMLangString
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 IMLangString
impl Debug for IMLangString
§impl From<&IMLangString> for &IUnknown
impl From<&IMLangString> for &IUnknown
§fn from(value: &IMLangString) -> Self
fn from(value: &IMLangString) -> Self
Converts to this type from the input type.
§impl From<&IMLangStringAStr> for &IMLangString
impl From<&IMLangStringAStr> for &IMLangString
§fn from(value: &IMLangStringAStr) -> Self
fn from(value: &IMLangStringAStr) -> Self
Converts to this type from the input type.
§impl From<&IMLangStringWStr> for &IMLangString
impl From<&IMLangStringWStr> for &IMLangString
§fn from(value: &IMLangStringWStr) -> Self
fn from(value: &IMLangStringWStr) -> Self
Converts to this type from the input type.
§impl From<IMLangString> for IUnknown
impl From<IMLangString> for IUnknown
§fn from(value: IMLangString) -> Self
fn from(value: IMLangString) -> Self
Converts to this type from the input type.
§impl From<IMLangStringAStr> for IMLangString
impl From<IMLangStringAStr> for IMLangString
§fn from(value: IMLangStringAStr) -> Self
fn from(value: IMLangStringAStr) -> Self
Converts to this type from the input type.
§impl From<IMLangStringWStr> for IMLangString
impl From<IMLangStringWStr> for IMLangString
§fn from(value: IMLangStringWStr) -> Self
fn from(value: IMLangStringWStr) -> Self
Converts to this type from the input type.
§impl Interface for IMLangString
impl Interface for IMLangString
§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 IMLangString
impl PartialEq for IMLangString
§fn eq(&self, other: &IMLangString) -> bool
fn eq(&self, other: &IMLangString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMLangString
impl StructuralPartialEq for IMLangString
Auto Trait Implementations§
impl RefUnwindSafe for IMLangString
impl !Send for IMLangString
impl !Sync for IMLangString
impl Unpin for IMLangString
impl UnwindSafe for IMLangString
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