pub struct WindowTextBoundaryModeService { /* private fields */ }Implementations§
Source§impl WindowTextBoundaryModeService
impl WindowTextBoundaryModeService
pub fn mode(&self, window: AppWindowId) -> Option<TextBoundaryMode>
pub fn set_base_mode(&mut self, window: AppWindowId, mode: TextBoundaryMode)
pub fn clear_base_mode(&mut self, window: AppWindowId)
pub fn push_mode( &mut self, window: AppWindowId, mode: TextBoundaryMode, ) -> WindowTextBoundaryModeHandle
pub fn update_pushed_mode( &mut self, handle: WindowTextBoundaryModeHandle, mode: TextBoundaryMode, ) -> bool
pub fn pop_mode( &mut self, handle: WindowTextBoundaryModeHandle, ) -> Option<TextBoundaryMode>
Trait Implementations§
Source§impl Default for WindowTextBoundaryModeService
impl Default for WindowTextBoundaryModeService
Source§fn default() -> WindowTextBoundaryModeService
fn default() -> WindowTextBoundaryModeService
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowTextBoundaryModeService
impl RefUnwindSafe for WindowTextBoundaryModeService
impl Send for WindowTextBoundaryModeService
impl Sync for WindowTextBoundaryModeService
impl Unpin for WindowTextBoundaryModeService
impl UnsafeUnpin for WindowTextBoundaryModeService
impl UnwindSafe for WindowTextBoundaryModeService
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