pub struct DrawSegmentCount(/* private fields */);Expand description
Segment count for draw-list APIs where Dear ImGui accepts 0 as “auto”.
Implementations§
Trait Implementations§
Source§impl Clone for DrawSegmentCount
impl Clone for DrawSegmentCount
Source§fn clone(&self) -> DrawSegmentCount
fn clone(&self) -> DrawSegmentCount
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 moreSource§impl Debug for DrawSegmentCount
impl Debug for DrawSegmentCount
Source§impl Default for DrawSegmentCount
impl Default for DrawSegmentCount
Source§fn default() -> DrawSegmentCount
fn default() -> DrawSegmentCount
Returns the “default value” for a type. Read more
Source§impl From<NonZero<usize>> for DrawSegmentCount
impl From<NonZero<usize>> for DrawSegmentCount
Source§fn from(value: NonZeroUsize) -> Self
fn from(value: NonZeroUsize) -> Self
Converts to this type from the input type.
Source§impl Hash for DrawSegmentCount
impl Hash for DrawSegmentCount
Source§impl PartialEq for DrawSegmentCount
impl PartialEq for DrawSegmentCount
Source§fn eq(&self, other: &DrawSegmentCount) -> bool
fn eq(&self, other: &DrawSegmentCount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DrawSegmentCount
impl Eq for DrawSegmentCount
impl StructuralPartialEq for DrawSegmentCount
Auto Trait Implementations§
impl Freeze for DrawSegmentCount
impl RefUnwindSafe for DrawSegmentCount
impl Send for DrawSegmentCount
impl Sync for DrawSegmentCount
impl Unpin for DrawSegmentCount
impl UnsafeUnpin for DrawSegmentCount
impl UnwindSafe for DrawSegmentCount
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