BrushImpl
trait · ferroui-base · v0.5.0
trait BrushImpl: FerroObjectImpl + $crate::Upcast<Brush>
The overridable members introduced by the class.
Members
on_referenced_from_compositor
fn on_referenced_from_compositor(this: &Self, c: &Rc<Compositor>)
Called when the brush got its counterpart on a compositor.
on_unreferenced_from_compositor
fn on_unreferenced_from_compositor(this: &Self, c: &Rc<Compositor>)
Called when the brush lost its counterpart on a compositor.
prepare_serialization
fn prepare_serialization(this: &Self, c: &Rc<Compositor>)
Creates the server objects the state of the brush refers to,
before the state is written for its counterpart on a compositor
(see ICompositorSerializable::prepare_serialization).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.