pub struct EngineCx<'a, B: Toolkit> { /* private fields */ }Trait Implementations§
Source§impl<B: Toolkit> LayoutOps for EngineCx<'_, B>
impl<B: Toolkit> LayoutOps for EngineCx<'_, B>
fn measure_child(&mut self, child: RNode, p: Proposal) -> Size
fn place_child(&mut self, child: RNode, rect: Rect)
Source§fn place_child_native(&mut self, child: RNode, rect: Rect)
fn place_child_native(&mut self, child: RNode, rect: Rect)
Place a child whose on-screen frame is NATIVE-owned (nav pages in splitter panes /
nav-controller views): never direction-mirrored — the toolkit positions it.
fn flex_of(&self, child: RNode) -> Flex
fn children_of(&self, node: RNode) -> Vec<RNode>
Source§fn measure_leaf(&mut self, p: Proposal) -> Size
fn measure_leaf(&mut self, p: Proposal) -> Size
Native intrinsic measurement of the CURRENT node (leaves).
Source§fn set_scroll_content(&mut self, content: Size)
fn set_scroll_content(&mut self, content: Size)
Report scroll content size for the CURRENT node (§7.6).
Auto Trait Implementations§
impl<'a, B> Freeze for EngineCx<'a, B>
impl<'a, B> !RefUnwindSafe for EngineCx<'a, B>
impl<'a, B> !Send for EngineCx<'a, B>
impl<'a, B> !Sync for EngineCx<'a, B>
impl<'a, B> Unpin for EngineCx<'a, B>
impl<'a, B> UnsafeUnpin for EngineCx<'a, B>
impl<'a, B> !UnwindSafe for EngineCx<'a, B>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more