#[repr(C)]pub struct Panel { /* private fields */ }
Implementations§
Source§impl Panel
impl Panel
pub fn bounds(&self) -> &Rect
pub fn bounds_mut(&mut self) -> &mut Rect
pub fn set_bounds(&mut self, b: Rect)
pub fn panel_type(&self) -> &PanelType
pub fn panel_type_mut(&mut self) -> &mut PanelType
pub fn set_panel_type(&mut self, t: PanelType)
pub fn flags(&self) -> &Flags
pub fn flags_mut(&mut self) -> &mut Flags
pub fn set_flags(&mut self, f: Flags)
pub fn offset_x(&self) -> u32
pub fn set_offset_x(&mut self, o: u32)
pub fn offset_y(&self) -> u32
pub fn set_offset_y(&mut self, o: u32)
pub fn at_x(&self) -> f32
pub fn set_at_x(&mut self, f: f32)
pub fn at_y(&self) -> f32
pub fn set_at_y(&mut self, f: f32)
pub fn max_x(&self) -> f32
pub fn set_max_x(&mut self, f: f32)
pub fn header_height(&self) -> f32
pub fn set_header_height(&mut self, f: f32)
pub fn border(&self) -> f32
pub fn set_border(&mut self, f: f32)
pub fn has_scrolling(&self) -> bool
pub fn set_has_scrolling(&mut self, f: bool)
pub fn clip(&self) -> &Rect
pub fn clip_mut(&mut self) -> &mut Rect
pub fn set_clip(&mut self, f: Rect)
pub fn row(&self) -> &RowLayout
pub fn chart(&self) -> &Chart
pub fn buffer(&self) -> Option<&CommandBuffer>
pub fn parent(&self) -> Option<&Panel>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Panel
impl RefUnwindSafe for Panel
impl !Send for Panel
impl !Sync for Panel
impl Unpin for Panel
impl UnwindSafe for Panel
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