#[repr(C)]pub struct CubicBezierInstance {
pub p0: [f32; 2],
pub p1: [f32; 2],
pub p2: [f32; 2],
pub p3: [f32; 2],
pub stroke_width: f32,
pub _padding: f32,
pub color: [f32; 4],
}Expand description
GPU instanced cubic Bezier curve for node graphs and flow connections.
Fields§
§p0: [f32; 2]§p1: [f32; 2]§p2: [f32; 2]§p3: [f32; 2]§stroke_width: f32§_padding: f32§color: [f32; 4]Implementations§
Trait Implementations§
Source§impl Clone for CubicBezierInstance
impl Clone for CubicBezierInstance
impl Copy for CubicBezierInstance
Source§impl Debug for CubicBezierInstance
impl Debug for CubicBezierInstance
Source§impl PartialEq for CubicBezierInstance
impl PartialEq for CubicBezierInstance
impl Pod for CubicBezierInstance
impl StructuralPartialEq for CubicBezierInstance
Auto Trait Implementations§
impl Forget for CubicBezierInstance
impl Freeze for CubicBezierInstance
impl Move for CubicBezierInstance
impl RefUnwindSafe for CubicBezierInstance
impl Send for CubicBezierInstance
impl Sync for CubicBezierInstance
impl Unpin for CubicBezierInstance
impl UnsafeUnpin for CubicBezierInstance
impl UnwindSafe for CubicBezierInstance
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.