pub struct ITextStory(/* private fields */);
Implementations§
Source§impl ITextStory
impl ITextStory
pub unsafe fn GetActive(&self) -> Result<i32>
pub unsafe fn SetActive(&self, value: i32) -> Result<()>
pub unsafe fn GetDisplay(&self) -> Result<IUnknown>
pub unsafe fn GetIndex(&self) -> Result<i32>
pub unsafe fn GetType(&self) -> Result<i32>
pub unsafe fn SetType(&self, value: i32) -> Result<()>
pub unsafe fn GetProperty(&self, type: i32) -> Result<i32>
pub unsafe fn GetRange( &self, cpactive: i32, cpanchor: i32, ) -> Result<ITextRange2>
pub unsafe fn GetText(&self, flags: i32) -> Result<BSTR>
pub unsafe fn SetFormattedText<'a>( &self, punk: impl IntoParam<'a, IUnknown>, ) -> Result<()>
pub unsafe fn SetProperty(&self, type: i32, value: i32) -> Result<()>
pub unsafe fn SetText<'a>( &self, flags: i32, bstr: impl IntoParam<'a, BSTR>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ITextStory
impl Clone for ITextStory
Source§fn clone(&self) -> ITextStory
fn clone(&self) -> ITextStory
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 ITextStory
impl Debug for ITextStory
Source§impl From<&ITextStory> for IUnknown
impl From<&ITextStory> for IUnknown
Source§fn from(value: &ITextStory) -> Self
fn from(value: &ITextStory) -> Self
Converts to this type from the input type.
Source§impl From<ITextStory> for IUnknown
impl From<ITextStory> for IUnknown
Source§fn from(value: ITextStory) -> Self
fn from(value: ITextStory) -> Self
Converts to this type from the input type.
Source§impl Interface for ITextStory
impl Interface for ITextStory
Source§impl PartialEq for ITextStory
impl PartialEq for ITextStory
impl Eq for ITextStory
impl StructuralPartialEq for ITextStory
Auto Trait Implementations§
impl Freeze for ITextStory
impl RefUnwindSafe for ITextStory
impl !Send for ITextStory
impl !Sync for ITextStory
impl Unpin for ITextStory
impl UnwindSafe for ITextStory
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