#[non_exhaustive]pub enum ProfileSeam {
Height,
Gradient,
}Expand description
Which quantity of a vertical profile breaks at a seam.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Height
StartHeight differs from the previous segment’s end height: a step.
Gradient
StartGradient differs from the previous EndGradient: a kink.
Trait Implementations§
Source§impl Clone for ProfileSeam
impl Clone for ProfileSeam
impl Copy for ProfileSeam
Source§impl Debug for ProfileSeam
impl Debug for ProfileSeam
Source§impl Display for ProfileSeam
impl Display for ProfileSeam
impl Eq for ProfileSeam
Source§impl PartialEq for ProfileSeam
impl PartialEq for ProfileSeam
impl StructuralPartialEq for ProfileSeam
Auto Trait Implementations§
impl Freeze for ProfileSeam
impl RefUnwindSafe for ProfileSeam
impl Send for ProfileSeam
impl Sync for ProfileSeam
impl Unpin for ProfileSeam
impl UnsafeUnpin for ProfileSeam
impl UnwindSafe for ProfileSeam
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