#[repr(i32)]pub enum ShapeFillKind {
SolidFill = 0,
TransparentFill = 1,
HorizontalHatch = 2,
VerticalHatch = 3,
}Expand description
ShapesDemo ShapeFillKind enum (RTI 7.x / Fast-DDS ShapeExtended IDL).
@final
enum ShapeFillKind { SOLID_FILL, TRANSPARENT_FILL, HORIZONTAL_HATCH, VERTICAL_HATCH };Wire form: a 4-byte little-endian int32 discriminant (0..=3), per the
XTypes enum default underlying type.
Variants§
SolidFill = 0
0 — solid fill (the ShapesDemo default).
TransparentFill = 1
1 — transparent (outline only).
HorizontalHatch = 2
2 — horizontal hatch.
VerticalHatch = 3
3 — vertical hatch.
Implementations§
Trait Implementations§
Source§impl Clone for ShapeFillKind
impl Clone for ShapeFillKind
Source§fn clone(&self) -> ShapeFillKind
fn clone(&self) -> ShapeFillKind
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 ShapeFillKind
Source§impl Debug for ShapeFillKind
impl Debug for ShapeFillKind
Source§impl Default for ShapeFillKind
impl Default for ShapeFillKind
Source§fn default() -> ShapeFillKind
fn default() -> ShapeFillKind
Returns the “default value” for a type. Read more
impl Eq for ShapeFillKind
Source§impl PartialEq for ShapeFillKind
impl PartialEq for ShapeFillKind
impl StructuralPartialEq for ShapeFillKind
Auto Trait Implementations§
impl Freeze for ShapeFillKind
impl RefUnwindSafe for ShapeFillKind
impl Send for ShapeFillKind
impl Sync for ShapeFillKind
impl Unpin for ShapeFillKind
impl UnsafeUnpin for ShapeFillKind
impl UnwindSafe for ShapeFillKind
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