pub struct ButtonPlacement {
pub icon: Option<Rect>,
pub label: Rect,
}Expand description
Areas used by the built-in button icon and label.
Fields§
§icon: Option<Rect>§label: RectAuto Trait Implementations§
impl Forget for ButtonPlacement
impl Freeze for ButtonPlacement
impl Move for ButtonPlacement
impl RefUnwindSafe for ButtonPlacement
impl Send for ButtonPlacement
impl Sync for ButtonPlacement
impl Unpin for ButtonPlacement
impl UnsafeUnpin for ButtonPlacement
impl UnwindSafe for ButtonPlacement
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