pub struct Overlay {
pub geometry: OverlayGeometry,
pub style: Style,
pub cursor: Point,
pub item_flow: Orientation,
pub group_flow: Orientation,
pub string_buffer: String,
/* private fields */
}Fields§
§geometry: OverlayGeometry§style: Style§cursor: Point§item_flow: Orientation§group_flow: Orientation§string_buffer: StringImplementations§
Source§impl Overlay
impl Overlay
pub fn new() -> Self
pub fn begin_frame(&mut self)
pub fn current_group_width(&self) -> i32
pub fn current_group_height(&self) -> i32
pub fn draw_item(&mut self, item: &dyn OverlayItem)
pub fn push_separator(&mut self)
pub fn push_column(&mut self)
pub fn end_group(&mut self)
pub fn finish(&mut self)
Auto Trait Implementations§
impl Freeze for Overlay
impl RefUnwindSafe for Overlay
impl Send for Overlay
impl Sync for Overlay
impl Unpin for Overlay
impl UnwindSafe for Overlay
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