Struct gtk4::builders::TextMarkBuilder
source · pub struct TextMarkBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct TextMark
objects.
Implementations§
source§impl TextMarkBuilder
impl TextMarkBuilder
sourcepub fn left_gravity(self, left_gravity: bool) -> Self
pub fn left_gravity(self, left_gravity: bool) -> Self
Whether the mark has left gravity.
When text is inserted at the mark’s current location, if the mark has left gravity it will be moved to the left of the newly-inserted text, otherwise to the right.
Auto Trait Implementations§
impl Freeze for TextMarkBuilder
impl RefUnwindSafe for TextMarkBuilder
impl !Send for TextMarkBuilder
impl !Sync for TextMarkBuilder
impl Unpin for TextMarkBuilder
impl UnwindSafe for TextMarkBuilder
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