pub struct CollisionShape {
pub kind: CollisionShapeKind,
pub placed: bool,
}Expand description
A shape that a frame’s placement tested for a label or an icon
(Frame::collision_shapes).
Fields§
§kind: CollisionShapeKind§placed: boolWhether the label or icon placed. One that collided, or that hides for another reason, such as a part it waits for, didn’t.
Trait Implementations§
Source§impl Clone for CollisionShape
impl Clone for CollisionShape
impl Copy for CollisionShape
Source§impl Debug for CollisionShape
impl Debug for CollisionShape
Source§impl Default for CollisionShape
impl Default for CollisionShape
Source§impl PartialEq for CollisionShape
impl PartialEq for CollisionShape
impl StructuralPartialEq for CollisionShape
Auto Trait Implementations§
impl Forget for CollisionShape
impl Freeze for CollisionShape
impl Move for CollisionShape
impl RefUnwindSafe for CollisionShape
impl Send for CollisionShape
impl Sync for CollisionShape
impl Unpin for CollisionShape
impl UnsafeUnpin for CollisionShape
impl UnwindSafe for CollisionShape
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