pub struct Slot;Expand description
Trait Implementations§
Source§impl Widget for Slot
impl Widget for Slot
Source§fn paint(&self, _cx: &PaintCx<'_>, _out: &mut Vec<PaintOp>)
fn paint(&self, _cx: &PaintCx<'_>, _out: &mut Vec<PaintOp>)
Appends this widget’s paint operations, in paint coordinates. Read more
Source§fn measure(&mut self, _input: MeasureInput) -> Option<Size>
fn measure(&mut self, _input: MeasureInput) -> Option<Size>
Returns the size of this widget’s content, or
None to let the layout
engine size the node from its style. Read moreAuto Trait Implementations§
impl Forget for Slot
impl Freeze for Slot
impl Move for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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