pub struct Rectangle { /* private fields */ }Implementations§
Source§impl Rectangle
impl Rectangle
pub fn new( layout_style: LayoutStyle, style: impl Fn() -> RectStyle + 'static, ) -> Result<Self, LayoutError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Rectangle
impl !Send for Rectangle
impl !Sync for Rectangle
impl !UnwindSafe for Rectangle
impl Freeze for Rectangle
impl Unpin for Rectangle
impl UnsafeUnpin for Rectangle
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> LayoutItem for Twhere
T: LeafWidget + Component,
impl<T> LayoutItem for Twhere
T: LeafWidget + Component,
fn layout_node(&self) -> NodeId
Source§fn pointer_opaque(&self) -> bool
fn pointer_opaque(&self) -> bool
Whether this widget stands in front of whatever its siblings drew underneath it, for a pointer event
its parent is hit-testing. Read more