pub struct GpuComputeSceneInput { /* private fields */ }Expand description
Flat BFS scene descriptor submitted to GpuComputeLayoutEngine.
Implementations§
Source§impl GpuComputeSceneInput
Safe optional coordinate accessor and builder helpers for GpuComputeSceneInput.
impl GpuComputeSceneInput
Safe optional coordinate accessor and builder helpers for GpuComputeSceneInput.
Source§impl GpuComputeSceneInput
Implements impl #impl_generics #name #ty_generics #where_clause.
impl GpuComputeSceneInput
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_nodes(&self) -> &Vec<GpuLayoutNodeInput>
pub fn get_mut_nodes(&mut self) -> &mut Vec<GpuLayoutNodeInput>
pub fn set_nodes(&mut self, val: Vec<GpuLayoutNodeInput>) -> &mut Self
pub fn get_visuals(&self) -> &Vec<GpuVisualStyleInput>
pub fn get_mut_visuals(&mut self) -> &mut Vec<GpuVisualStyleInput>
pub fn set_visuals(&mut self, val: Vec<GpuVisualStyleInput>) -> &mut Self
pub fn get_level_offsets(&self) -> &Vec<u32>
pub fn get_mut_level_offsets(&mut self) -> &mut Vec<u32>
pub fn set_level_offsets(&mut self, val: Vec<u32>) -> &mut Self
pub fn get_viewport_size(&self) -> [f32; 2]
pub fn get_mut_viewport_size(&mut self) -> &mut [f32; 2]
pub fn set_viewport_size(&mut self, val: [f32; 2]) -> &mut Self
pub fn get_root_boundary_rect(&self) -> [f32; 4]
pub fn get_mut_root_boundary_rect(&mut self) -> &mut [f32; 4]
pub fn set_root_boundary_rect(&mut self, val: [f32; 4]) -> &mut Self
pub fn get_dt_secs(&self) -> f32
pub fn get_mut_dt_secs(&mut self) -> &mut f32
pub fn set_dt_secs(&mut self, val: f32) -> &mut Self
pub fn get_clear_color(&self) -> Color
pub fn get_mut_clear_color(&mut self) -> &mut Color
pub fn set_clear_color(&mut self, val: Color) -> &mut Self
Trait Implementations§
Source§impl Clone for GpuComputeSceneInput
impl Clone for GpuComputeSceneInput
Source§impl Debug for GpuComputeSceneInput
impl Debug for GpuComputeSceneInput
Source§impl Default for GpuComputeSceneInput
impl Default for GpuComputeSceneInput
Source§impl PartialEq for GpuComputeSceneInput
impl PartialEq for GpuComputeSceneInput
impl StructuralPartialEq for GpuComputeSceneInput
Auto Trait Implementations§
impl Forget for GpuComputeSceneInput
impl Freeze for GpuComputeSceneInputwhere
*const u8 is !null: Freeze,
PhantomData<GpuLayoutNodeInput>: Freeze,
PhantomData<GpuVisualStyleInput>: Freeze,
PhantomData<u32>: Freeze,
impl Move for GpuComputeSceneInput
impl RefUnwindSafe for GpuComputeSceneInput
impl Send for GpuComputeSceneInputwhere
RawVecInner: Send,
impl Sync for GpuComputeSceneInputwhere
RawVecInner: Sync,
impl Unpin for GpuComputeSceneInput
impl UnsafeUnpin for GpuComputeSceneInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<GpuLayoutNodeInput>: UnsafeUnpin,
PhantomData<GpuVisualStyleInput>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
impl UnwindSafe for GpuComputeSceneInputwhere
RawVecInner: UnwindSafe,
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