pub struct IQueryCodePage(/* private fields */);
Implementations§
Source§impl IQueryCodePage
impl IQueryCodePage
pub unsafe fn GetCodePage(&self) -> Result<u32>
pub unsafe fn SetCodePage(&self, uicodepage: u32) -> Result<()>
Trait Implementations§
Source§impl Clone for IQueryCodePage
impl Clone for IQueryCodePage
Source§fn clone(&self) -> IQueryCodePage
fn clone(&self) -> IQueryCodePage
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 moreSource§impl Debug for IQueryCodePage
impl Debug for IQueryCodePage
Source§impl From<&IQueryCodePage> for IUnknown
impl From<&IQueryCodePage> for IUnknown
Source§fn from(value: &IQueryCodePage) -> Self
fn from(value: &IQueryCodePage) -> Self
Converts to this type from the input type.
Source§impl From<IQueryCodePage> for IUnknown
impl From<IQueryCodePage> for IUnknown
Source§fn from(value: IQueryCodePage) -> Self
fn from(value: IQueryCodePage) -> Self
Converts to this type from the input type.
Source§impl Interface for IQueryCodePage
impl Interface for IQueryCodePage
const IID: Guid
type Vtable = IQueryCodePage_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IQueryCodePage
impl PartialEq for IQueryCodePage
impl Eq for IQueryCodePage
impl StructuralPartialEq for IQueryCodePage
Auto Trait Implementations§
impl Freeze for IQueryCodePage
impl RefUnwindSafe for IQueryCodePage
impl !Send for IQueryCodePage
impl !Sync for IQueryCodePage
impl Unpin for IQueryCodePage
impl UnwindSafe for IQueryCodePage
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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