pub struct ResizablePanelGroupStyle {
pub gap: Px,
pub hit_thickness: Px,
pub paint_device_px: f32,
pub handle_color: Color,
pub handle_alpha: f32,
pub handle_hover_alpha: f32,
pub handle_drag_alpha: f32,
}Fields§
§gap: PxLayout gap between panels in logical px.
This does not need to match hit_thickness: it is common to keep the visual/layout gap
small (or zero) while using a larger hit area for usability.
hit_thickness: PxThickness of the handle region in logical px.
This region is used for hit-testing (and can be larger than gap).
paint_device_px: f32Visual thickness in device pixels (converted using the current scale factor).
handle_color: Color§handle_alpha: f32§handle_hover_alpha: f32§handle_drag_alpha: f32Implementations§
Source§impl ResizablePanelGroupStyle
impl ResizablePanelGroupStyle
pub fn from_theme(theme: &Theme) -> Self
Trait Implementations§
Source§impl Clone for ResizablePanelGroupStyle
impl Clone for ResizablePanelGroupStyle
Source§fn clone(&self) -> ResizablePanelGroupStyle
fn clone(&self) -> ResizablePanelGroupStyle
Returns a duplicate 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 ResizablePanelGroupStyle
impl Debug for ResizablePanelGroupStyle
Auto Trait Implementations§
impl Freeze for ResizablePanelGroupStyle
impl RefUnwindSafe for ResizablePanelGroupStyle
impl Send for ResizablePanelGroupStyle
impl Sync for ResizablePanelGroupStyle
impl Unpin for ResizablePanelGroupStyle
impl UnsafeUnpin for ResizablePanelGroupStyle
impl UnwindSafe for ResizablePanelGroupStyle
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