[−][src]Struct makepad_render::CxView
Fields
nesting_view_id: usizeredraw_id: u64pass_id: usizedo_v_scroll: booldo_h_scroll: booldraw_calls: Vec<DrawCall>draw_calls_len: usizeparent_scroll: Vec2view_uniforms: ViewUniformsunsnapped_scroll: Vec2snapped_scroll: Vec2platform: CxPlatformViewrect: Rectclipped: boolMethods
impl CxView[src]
pub fn initialize(&mut self, pass_id: usize, clipped: bool, redraw_id: u64)[src]
pub fn get_scrolled_rect(&self) -> Rect[src]
pub fn get_inverse_scrolled_rect(&self) -> Rect[src]
pub fn intersect_clip(&self, clip: (Vec2, Vec2)) -> (Vec2, Vec2)[src]
pub fn get_local_scroll(&self) -> Vec2[src]
pub fn def_uniforms(sg: ShaderGen) -> ShaderGen[src]
pub fn uniform_view_transform(&mut self, v: &Mat4)[src]
Trait Implementations
Auto Trait Implementations
impl Send for CxView
impl Sync for CxView
impl Unpin for CxView
impl UnwindSafe for CxView
impl RefUnwindSafe for CxView
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,