pub struct Axial {
pub start: Point,
pub end: Point,
pub t_min: f32,
pub t_max: f32,
pub extend_start: bool,
pub extend_end: bool,
}Expand description
A type 2 shading’s geometry.
Fields§
§start: PointThe axis’s start point.
end: PointThe axis’s end point.
t_min: f32/Domain’s low bound.
t_max: f32/Domain’s high bound.
extend_start: boolWhether the gradient continues past the start point.
extend_end: boolWhether it continues past the end point.
Implementations§
Trait Implementations§
impl Copy for Axial
impl StructuralPartialEq for Axial
Auto Trait Implementations§
impl Freeze for Axial
impl RefUnwindSafe for Axial
impl Send for Axial
impl Sync for Axial
impl Unpin for Axial
impl UnsafeUnpin for Axial
impl UnwindSafe for Axial
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