pub struct GpuLayoutNodeInput { /* private fields */ }Expand description
Flat 64-byte #[repr(C)] GPU compute layout input record aligned 1:1 with FlatBfsTopology BFS indices.
Implementations§
Source§impl GpuLayoutNodeInput
impl GpuLayoutNodeInput
pub fn get_parent_bfs(&self) -> u32
pub fn get_mut_parent_bfs(&mut self) -> &mut u32
pub fn set_parent_bfs(&mut self, val: u32) -> &mut Self
pub fn get_first_child(&self) -> u32
pub fn get_mut_first_child(&mut self) -> &mut u32
pub fn set_first_child(&mut self, val: u32) -> &mut Self
pub fn get_child_count(&self) -> u32
pub fn get_mut_child_count(&mut self) -> &mut u32
pub fn set_child_count(&mut self, val: u32) -> &mut Self
pub fn get_flags_kind(&self) -> u32
pub fn get_mut_flags_kind(&mut self) -> &mut u32
pub fn set_flags_kind(&mut self, val: u32) -> &mut Self
pub fn get_pref_min_size(&self) -> [f32; 4]
pub fn get_mut_pref_min_size(&mut self) -> &mut [f32; 4]
pub fn set_pref_min_size(&mut self, val: [f32; 4]) -> &mut Self
pub fn get_pad_gap_flex(&self) -> [f32; 4]
pub fn get_mut_pad_gap_flex(&mut self) -> &mut [f32; 4]
pub fn set_pad_gap_flex(&mut self, val: [f32; 4]) -> &mut Self
pub fn get_extra_or_intrinsic(&self) -> [f32; 4]
pub fn get_mut_extra_or_intrinsic(&mut self) -> &mut [f32; 4]
pub fn set_extra_or_intrinsic(&mut self, val: [f32; 4]) -> &mut Self
Trait Implementations§
Source§impl Clone for GpuLayoutNodeInput
impl Clone for GpuLayoutNodeInput
impl Copy for GpuLayoutNodeInput
Source§impl Debug for GpuLayoutNodeInput
impl Debug for GpuLayoutNodeInput
Source§impl Default for GpuLayoutNodeInput
impl Default for GpuLayoutNodeInput
Source§impl PartialEq for GpuLayoutNodeInput
impl PartialEq for GpuLayoutNodeInput
impl StructuralPartialEq for GpuLayoutNodeInput
Auto Trait Implementations§
impl Forget for GpuLayoutNodeInput
impl Freeze for GpuLayoutNodeInput
impl Move for GpuLayoutNodeInput
impl RefUnwindSafe for GpuLayoutNodeInput
impl Send for GpuLayoutNodeInput
impl Sync for GpuLayoutNodeInput
impl Unpin for GpuLayoutNodeInput
impl UnsafeUnpin for GpuLayoutNodeInput
impl UnwindSafe for GpuLayoutNodeInput
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