pub struct SegmentRect {
pub bounds: Rect,
pub filled: bool,
}Expand description
Geometry and accepted-count state for one cell; Unknown has filled=false, and must be distinguished by the enclosing SegmentGeometry::value.
Fields§
§bounds: Rect§filled: boolTrait Implementations§
Source§impl Clone for SegmentRect
impl Clone for SegmentRect
Source§fn clone(&self) -> SegmentRect
fn clone(&self) -> SegmentRect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentRect
impl Debug for SegmentRect
Source§impl PartialEq for SegmentRect
impl PartialEq for SegmentRect
impl Copy for SegmentRect
impl StructuralPartialEq for SegmentRect
Auto Trait Implementations§
impl Freeze for SegmentRect
impl RefUnwindSafe for SegmentRect
impl Send for SegmentRect
impl Sync for SegmentRect
impl Unpin for SegmentRect
impl UnwindSafe for SegmentRect
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