pub struct LayoutBoundary { /* private fields */ }Expand description
Containment boundary marking a candidate subtree root for CPU/GPU mixed co-execution partitioning.
Implementations§
Source§impl LayoutBoundary
impl LayoutBoundary
pub fn get_root_node(&self) -> NodeId
pub fn get_mut_root_node(&mut self) -> &mut NodeId
pub fn set_root_node(&mut self, val: NodeId) -> &mut Self
pub fn get_hint(&self) -> LayoutBoundaryHint
pub fn get_mut_hint(&mut self) -> &mut LayoutBoundaryHint
pub fn set_hint(&mut self, val: LayoutBoundaryHint) -> &mut Self
pub fn get_fixed_width_constraint(&self) -> bool
pub fn get_mut_fixed_width_constraint(&mut self) -> &mut bool
pub fn set_fixed_width_constraint(&mut self, val: bool) -> &mut Self
pub fn get_fixed_height_constraint(&self) -> bool
pub fn get_mut_fixed_height_constraint(&mut self) -> &mut bool
pub fn set_fixed_height_constraint(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for LayoutBoundary
impl Clone for LayoutBoundary
impl Copy for LayoutBoundary
Source§impl Debug for LayoutBoundary
impl Debug for LayoutBoundary
Source§impl Default for LayoutBoundary
impl Default for LayoutBoundary
impl Eq for LayoutBoundary
Source§impl Hash for LayoutBoundary
impl Hash for LayoutBoundary
Source§impl PartialEq for LayoutBoundary
impl PartialEq for LayoutBoundary
impl StructuralPartialEq for LayoutBoundary
Auto Trait Implementations§
impl Forget for LayoutBoundary
impl Freeze for LayoutBoundary
impl Move for LayoutBoundary
impl RefUnwindSafe for LayoutBoundary
impl Send for LayoutBoundary
impl Sync for LayoutBoundary
impl Unpin for LayoutBoundary
impl UnsafeUnpin for LayoutBoundary
impl UnwindSafe for LayoutBoundary
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