Struct qt_gui::q_text_format::ObjectTypes
source · pub struct ObjectTypes(/* private fields */);
Expand description
This enum describes what kind of QTextObject this format is associated with.
C++ enum: QTextFormat::ObjectTypes
.
This enum describes what kind of QTextObject this format is associated with.
See also QTextObject, QTextTable, and QTextObject::format().
Implementations§
source§impl ObjectTypes
impl ObjectTypes
sourcepub const NoObject: ObjectTypes = _
pub const NoObject: ObjectTypes = _
(C++ enum variant: NoObject = 0
)
sourcepub const ImageObject: ObjectTypes = _
pub const ImageObject: ObjectTypes = _
(C++ enum variant: ImageObject = 1
)
sourcepub const TableObject: ObjectTypes = _
pub const TableObject: ObjectTypes = _
(C++ enum variant: TableObject = 2
)
sourcepub const TableCellObject: ObjectTypes = _
pub const TableCellObject: ObjectTypes = _
(C++ enum variant: TableCellObject = 3
)
sourcepub const UserObject: ObjectTypes = _
pub const UserObject: ObjectTypes = _
The first object that can be used for application-specific purposes. (C++ enum variant: UserObject = 4096
)
Trait Implementations§
source§impl Clone for ObjectTypes
impl Clone for ObjectTypes
source§fn clone(&self) -> ObjectTypes
fn clone(&self) -> ObjectTypes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObjectTypes
impl Debug for ObjectTypes
source§impl From<ObjectTypes> for c_int
impl From<ObjectTypes> for c_int
source§fn from(value: ObjectTypes) -> Self
fn from(value: ObjectTypes) -> Self
Converts to this type from the input type.
source§impl From<i32> for ObjectTypes
impl From<i32> for ObjectTypes
source§impl PartialEq for ObjectTypes
impl PartialEq for ObjectTypes
source§fn eq(&self, other: &ObjectTypes) -> bool
fn eq(&self, other: &ObjectTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ObjectTypes
impl Eq for ObjectTypes
impl StructuralEq for ObjectTypes
impl StructuralPartialEq for ObjectTypes
Auto Trait Implementations§
impl RefUnwindSafe for ObjectTypes
impl Send for ObjectTypes
impl Sync for ObjectTypes
impl Unpin for ObjectTypes
impl UnwindSafe for ObjectTypes
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