[−][src]Struct qt_core::ToolButtonStyle
The style of the tool button, describing how the button's text and icon should be displayed.
C++ enum: Qt::ToolButtonStyle
.
The style of the tool button, describing how the button's text and icon should be displayed.
Methods
impl ToolButtonStyle
[src]
impl ToolButtonStyle
[src]
pub const ToolButtonIconOnly: ToolButtonStyle
[src]
Only display the icon. (C++ enum variant: ToolButtonIconOnly = 0
)
pub const ToolButtonTextOnly: ToolButtonStyle
[src]
Only display the text. (C++ enum variant: ToolButtonTextOnly = 1
)
pub const ToolButtonTextBesideIcon: ToolButtonStyle
[src]
The text appears beside the icon. (C++ enum variant: ToolButtonTextBesideIcon = 2
)
pub const ToolButtonTextUnderIcon: ToolButtonStyle
[src]
The text appears under the icon. (C++ enum variant: ToolButtonTextUnderIcon = 3
)
pub const ToolButtonFollowStyle: ToolButtonStyle
[src]
Follow the style. (C++ enum variant: ToolButtonFollowStyle = 4
)
Trait Implementations
impl Clone for ToolButtonStyle
[src]
fn clone(&self) -> ToolButtonStyle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ToolButtonStyle
[src]
impl Debug for ToolButtonStyle
[src]
impl Eq for ToolButtonStyle
[src]
impl From<ToolButtonStyle> for c_int
[src]
fn from(value: ToolButtonStyle) -> Self
[src]
impl From<i32> for ToolButtonStyle
[src]
impl PartialEq<ToolButtonStyle> for ToolButtonStyle
[src]
fn eq(&self, other: &ToolButtonStyle) -> bool
[src]
fn ne(&self, other: &ToolButtonStyle) -> bool
[src]
impl StructuralEq for ToolButtonStyle
[src]
impl StructuralPartialEq for ToolButtonStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for ToolButtonStyle
impl Send for ToolButtonStyle
impl Sync for ToolButtonStyle
impl Unpin for ToolButtonStyle
impl UnwindSafe for ToolButtonStyle
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>,