pub struct RibbonGroup<'a> {
pub id: u32,
pub label: &'a str,
pub width: i32,
pub compact_width: i32,
}Expand description
One ribbon group. Reserve id..=id + 3 for its box, overflow and popup.
Fields§
§id: u32Stable base ID, unique across the window.
label: &'a strVisible group caption and accessible overflow name.
width: i32Preferred group width in DIP.
compact_width: i32Smallest width that still displays all controls, in DIP.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for RibbonGroup<'a>
impl<'a> Clone for RibbonGroup<'a>
impl<'a> Copy for RibbonGroup<'a>
Auto Trait Implementations§
impl<'a> Forget for RibbonGroup<'a>
impl<'a> Freeze for RibbonGroup<'a>
impl<'a> RefUnwindSafe for RibbonGroup<'a>
impl<'a> Send for RibbonGroup<'a>
impl<'a> Sync for RibbonGroup<'a>
impl<'a> Unpin for RibbonGroup<'a>
impl<'a> UnsafeUnpin for RibbonGroup<'a>
impl<'a> UnwindSafe for RibbonGroup<'a>
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