[−][src]Struct qt_gui::q_text_char_format::FontPropertiesInheritanceBehavior
This enum specifies how the setFont() function should behave with respect to unset font properties.
C++ enum: QTextCharFormat::FontPropertiesInheritanceBehavior
.
Methods
impl FontPropertiesInheritanceBehavior
[src]
impl FontPropertiesInheritanceBehavior
[src]
pub const FontPropertiesSpecifiedOnly: FontPropertiesInheritanceBehavior
[src]
If a property is not explicitly set, do not change the text format's property value. (C++ enum variant: FontPropertiesSpecifiedOnly = 0
)
pub const FontPropertiesAll: FontPropertiesInheritanceBehavior
[src]
If a property is not explicitly set, override the text format's property with a default value. (C++ enum variant: FontPropertiesAll = 1
)
Trait Implementations
impl Clone for FontPropertiesInheritanceBehavior
[src]
fn clone(&self) -> FontPropertiesInheritanceBehavior
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FontPropertiesInheritanceBehavior
[src]
impl Debug for FontPropertiesInheritanceBehavior
[src]
impl Eq for FontPropertiesInheritanceBehavior
[src]
impl From<FontPropertiesInheritanceBehavior> for c_int
[src]
fn from(value: FontPropertiesInheritanceBehavior) -> Self
[src]
impl From<i32> for FontPropertiesInheritanceBehavior
[src]
impl PartialEq<FontPropertiesInheritanceBehavior> for FontPropertiesInheritanceBehavior
[src]
fn eq(&self, other: &FontPropertiesInheritanceBehavior) -> bool
[src]
fn ne(&self, other: &FontPropertiesInheritanceBehavior) -> bool
[src]
impl StructuralEq for FontPropertiesInheritanceBehavior
[src]
impl StructuralPartialEq for FontPropertiesInheritanceBehavior
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontPropertiesInheritanceBehavior
impl Send for FontPropertiesInheritanceBehavior
impl Sync for FontPropertiesInheritanceBehavior
impl Unpin for FontPropertiesInheritanceBehavior
impl UnwindSafe for FontPropertiesInheritanceBehavior
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,