pub trait ITextStoreAnchorSink_Impl: Sized {
    // Required methods
    fn OnTextChange(
        &self,
        dwflags: TEXT_STORE_CHANGE_FLAGS,
        pastart: Option<&IAnchor>,
        paend: Option<&IAnchor>,
    ) -> Result<()>;
    fn OnSelectionChange(&self) -> Result<()>;
    fn OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> Result<()>;
    fn OnStatusChange(&self, dwflags: u32) -> Result<()>;
    fn OnAttrsChange(
        &self,
        pastart: Option<&IAnchor>,
        paend: Option<&IAnchor>,
        cattrs: u32,
        paattrs: *const GUID,
    ) -> Result<()>;
    fn OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> Result<()>;
    fn OnStartEditTransaction(&self) -> Result<()>;
    fn OnEndEditTransaction(&self) -> Result<()>;
}

Required Methods§

fn OnTextChange( &self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: Option<&IAnchor>, paend: Option<&IAnchor>, ) -> Result<()>

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

fn OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> Result<()>

fn OnStatusChange(&self, dwflags: u32) -> Result<()>

fn OnAttrsChange( &self, pastart: Option<&IAnchor>, paend: Option<&IAnchor>, cattrs: u32, paattrs: *const GUID, ) -> Result<()>

fn OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> Result<()>

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

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

Object Safety§

This trait is not object safe.

Implementors§