pub struct Circle { /* private fields */ }
Expand description
Struct for circle
.
Implementations
Trait Implementations
sourceimpl View for Circle
impl View for Circle
sourcefn print(&self, _id: ViewId, _cx: &mut Context)
fn print(&self, _id: ViewId, _cx: &mut Context)
Prints a description of the view for debugging.
sourcefn layout(
&self,
id: ViewId,
sz: LocalSize,
cx: &mut Context,
_vger: &mut VGER
) -> LocalSize
fn layout(
&self,
id: ViewId,
sz: LocalSize,
cx: &mut Context,
_vger: &mut VGER
) -> LocalSize
Lays out subviews and return the size of the view.
sourcefn hittest(
&self,
id: ViewId,
pt: LocalPoint,
cx: &mut Context,
_vger: &mut VGER
) -> Option<ViewId>
fn hittest(
&self,
id: ViewId,
pt: LocalPoint,
cx: &mut Context,
_vger: &mut VGER
) -> Option<ViewId>
Returns the topmost view which the point intersects.
sourcefn process(
&self,
_event: &Event,
_id: ViewId,
_cx: &mut Context,
_vger: &mut VGER
)
fn process(
&self,
_event: &Event,
_id: ViewId,
_cx: &mut Context,
_vger: &mut VGER
)
Processes an event.
sourcefn dirty(
&self,
_id: ViewId,
_xform: LocalToWorld,
_cx: &mut Context,
_region: &mut Region<WorldSpace>
)
fn dirty(
&self,
_id: ViewId,
_xform: LocalToWorld,
_cx: &mut Context,
_region: &mut Region<WorldSpace>
)
Determines dirty regions which need repainting.
sourcefn commands(&self, _id: ViewId, _cx: &mut Context, _cmds: &mut Vec<CommandInfo>)
fn commands(&self, _id: ViewId, _cx: &mut Context, _cmds: &mut Vec<CommandInfo>)
Accumulates information about menu bar commands.
fn gc(&self, _id: ViewId, _cx: &mut Context, _map: &mut Vec<ViewId>)
Auto Trait Implementations
impl RefUnwindSafe for Circle
impl Send for Circle
impl Sync for Circle
impl Unpin for Circle
impl UnwindSafe for Circle
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