Struct guiver::widget::Placeholder
source · [−]pub struct Placeholder { /* private fields */ }
Expand description
A placeholder widget.
Implementations
sourceimpl Placeholder
impl Placeholder
Trait Implementations
sourceimpl Widget for Placeholder
impl Widget for Placeholder
fn apply_size_constraints(&mut self, size_constraints: SizeConstraints) -> Size
fn handle_command(
&mut self,
widget_command: WidgetCommand
) -> Result<(), WidgetError>
fn handle_event(
&mut self,
_event: &SystemEvent,
_widget_events: &mut Vec<WidgetEvent>
)
fn paint(&self, piet: &mut Piet<'_>, _region: &Region) -> Result<(), Error>
fn set_origin(&mut self, origin: Point)
fn widget_id(&self) -> &WidgetId
Auto Trait Implementations
impl RefUnwindSafe for Placeholder
impl Send for Placeholder
impl Sync for Placeholder
impl Unpin for Placeholder
impl UnwindSafe for Placeholder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more