pub struct View {
pub view_id: Option<usize>,
pub is_clipped: bool,
pub is_overlay: bool,
pub always_redraw: bool,
}
Fields§
§view_id: Option<usize>
§is_clipped: bool
§is_overlay: bool
§always_redraw: bool
Implementations§
Source§impl View
impl View
pub fn proto_overlay(_cx: &mut Cx) -> Self
pub fn new(_cx: &mut Cx) -> Self
pub fn begin_view(&mut self, cx: &mut Cx, layout: Layout) -> ViewRedraw
pub fn view_will_redraw(&mut self, cx: &mut Cx) -> bool
pub fn end_view(&mut self, cx: &mut Cx) -> Area
pub fn get_rect(&mut self, cx: &Cx) -> Rect
pub fn redraw_view_area(&self, cx: &mut Cx)
pub fn redraw_view_parent_area(&self, cx: &mut Cx)
pub fn get_view_area(&self, cx: &Cx) -> Area
Trait Implementations§
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnwindSafe for View
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