[][src]Struct makepad_render::View

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: boolis_overlay: boolalways_redraw: bool

Methods

impl View[src]

pub fn proto_overlay(_cx: &mut Cx) -> Self[src]

pub fn new(_cx: &mut Cx) -> Self[src]

pub fn begin_view(&mut self, cx: &mut Cx, layout: Layout) -> ViewRedraw[src]

pub fn view_will_redraw(&mut self, cx: &mut Cx) -> bool[src]

pub fn end_view(&mut self, cx: &mut Cx) -> Area[src]

pub fn get_rect(&mut self, cx: &Cx) -> Rect[src]

pub fn redraw_view_area(&self, cx: &mut Cx)[src]

pub fn redraw_view_parent_area(&self, cx: &mut Cx)[src]

pub fn get_view_area(&self, cx: &Cx) -> Area[src]

Trait Implementations

impl Clone for View[src]

Auto Trait Implementations

impl RefUnwindSafe for View

impl Send for View

impl Sync for View

impl Unpin for View

impl UnwindSafe for View

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.