[−][src]Struct qt_widgets::q_text_edit::ExtraSelection
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
C++ class: QTextEdit::ExtraSelection
.
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
Methods
impl ExtraSelection
[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<ExtraSelection>>
) -> MutRef<ExtraSelection>
[src]
&mut self,
other: impl CastInto<Ref<ExtraSelection>>
) -> MutRef<ExtraSelection>
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
Calls C++ function: QTextEdit::ExtraSelection& QTextEdit::ExtraSelection::operator=(const QTextEdit::ExtraSelection& other)
.
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
pub unsafe fn cursor(&self) -> Ref<QTextCursor>
[src]
Returns a reference to the cursor
field.
pub unsafe fn cursor_mut(&mut self) -> MutRef<QTextCursor>
[src]
Returns a mutable reference to the cursor
field.
pub unsafe fn format(&self) -> Ref<QTextCharFormat>
[src]
Returns a reference to the format
field.
pub unsafe fn format_mut(&mut self) -> MutRef<QTextCharFormat>
[src]
Returns a mutable reference to the format
field.
pub unsafe fn new() -> CppBox<ExtraSelection>
[src]
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
Calls C++ function: [constructor] void QTextEdit::ExtraSelection::ExtraSelection()
.
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
pub unsafe fn new_copy(
other: impl CastInto<Ref<ExtraSelection>>
) -> CppBox<ExtraSelection>
[src]
other: impl CastInto<Ref<ExtraSelection>>
) -> CppBox<ExtraSelection>
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
Calls C++ function: [constructor] void QTextEdit::ExtraSelection::ExtraSelection(const QTextEdit::ExtraSelection& other)
.
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
pub unsafe fn set_cursor(&mut self, value: impl CastInto<Ref<QTextCursor>>)
[src]
Sets the value of the cursor
field.
pub unsafe fn set_format(&mut self, value: impl CastInto<Ref<QTextCharFormat>>)
[src]
Sets the value of the format
field.
Trait Implementations
impl CppDeletable for ExtraSelection
[src]
unsafe fn delete(&mut self)
[src]
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
Calls C++ function: [destructor] void QTextEdit::ExtraSelection::~ExtraSelection()
.
The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document
Auto Trait Implementations
impl Send for ExtraSelection
impl Unpin for ExtraSelection
impl Sync for ExtraSelection
impl UnwindSafe for ExtraSelection
impl RefUnwindSafe for ExtraSelection
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,