#[repr(C)]pub struct SegmentCount {
pub line_ix: u32,
pub counts: u32,
}Expand description
Line segment (after flattening, before tiling).
Fields§
§line_ix: u32§counts: u32Trait Implementations§
Source§impl Clone for SegmentCount
impl Clone for SegmentCount
Source§fn clone(&self) -> SegmentCount
fn clone(&self) -> SegmentCount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SegmentCount
Source§impl Debug for SegmentCount
impl Debug for SegmentCount
Source§impl Default for SegmentCount
impl Default for SegmentCount
Source§fn default() -> SegmentCount
fn default() -> SegmentCount
Returns the “default value” for a type. Read more
impl Pod for SegmentCount
Auto Trait Implementations§
impl Freeze for SegmentCount
impl RefUnwindSafe for SegmentCount
impl Send for SegmentCount
impl Sync for SegmentCount
impl Unpin for SegmentCount
impl UnsafeUnpin for SegmentCount
impl UnwindSafe for SegmentCount
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.