Trait windows::Win32::UI::TextServices::IAnchor_Impl

pub trait IAnchor_Impl: Sized {
    // Required methods
    fn SetGravity(&self, gravity: TsGravity) -> Result<()>;
    fn GetGravity(&self) -> Result<TsGravity>;
    fn IsEqual(&self, pawith: Option<&IAnchor>) -> Result<BOOL>;
    fn Compare(&self, pawith: Option<&IAnchor>) -> Result<i32>;
    fn Shift(
        &self,
        dwflags: u32,
        cchreq: i32,
        pcch: *mut i32,
        pahaltanchor: Option<&IAnchor>,
    ) -> Result<()>;
    fn ShiftTo(&self, pasite: Option<&IAnchor>) -> Result<()>;
    fn ShiftRegion(&self, dwflags: u32, dir: TsShiftDir) -> Result<BOOL>;
    fn SetChangeHistoryMask(&self, dwmask: u32) -> Result<()>;
    fn GetChangeHistory(&self) -> Result<ANCHOR_CHANGE_HISTORY_FLAGS>;
    fn ClearChangeHistory(&self) -> Result<()>;
    fn Clone(&self) -> Result<IAnchor>;
}

Required Methods§

fn SetGravity(&self, gravity: TsGravity) -> Result<()>

fn GetGravity(&self) -> Result<TsGravity>

fn IsEqual(&self, pawith: Option<&IAnchor>) -> Result<BOOL>

fn Compare(&self, pawith: Option<&IAnchor>) -> Result<i32>

fn Shift( &self, dwflags: u32, cchreq: i32, pcch: *mut i32, pahaltanchor: Option<&IAnchor>, ) -> Result<()>

fn ShiftTo(&self, pasite: Option<&IAnchor>) -> Result<()>

fn ShiftRegion(&self, dwflags: u32, dir: TsShiftDir) -> Result<BOOL>

fn SetChangeHistoryMask(&self, dwmask: u32) -> Result<()>

fn GetChangeHistory(&self) -> Result<ANCHOR_CHANGE_HISTORY_FLAGS>

fn ClearChangeHistory(&self) -> Result<()>

fn Clone(&self) -> Result<IAnchor>

Object Safety§

This trait is not object safe.

Implementors§