Struct windows::Win32::UI::Controls::RichEdit::ITextStory_Vtbl

#[repr(C)]
pub struct ITextStory_Vtbl {
Show 13 fields pub base__: IUnknown_Vtbl, pub GetActive: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetActive: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetDisplay: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetIndex: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub GetType: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetType: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub GetProperty: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT, pub GetRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut *mut c_void) -> HRESULT, pub GetText: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetProperty: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT, pub SetText: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§GetActive: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetActive: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetDisplay: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetIndex: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§GetType: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetType: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetProperty: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut i32) -> HRESULT§GetRange: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut *mut c_void) -> HRESULT§GetText: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetFormattedText: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetProperty: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT§SetText: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>) -> HRESULT

Implementations§

§

impl ITextStory_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ITextStory_Vtbl
where Identity: ITextStory_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.