#[non_exhaustive]pub enum BorderEndStartRadius {
Length(Length),
Percentage(Percentage),
Raw(Raw),
}Expand description
A value of border-end-start-radius.
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.
Length(Length)
A length.
Percentage(Percentage)
A percentage.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for BorderEndStartRadius
impl Clone for BorderEndStartRadius
Source§fn clone(&self) -> BorderEndStartRadius
fn clone(&self) -> BorderEndStartRadius
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 BorderEndStartRadius
impl Debug for BorderEndStartRadius
Source§impl Display for BorderEndStartRadius
impl Display for BorderEndStartRadius
Source§impl From<Length> for BorderEndStartRadius
impl From<Length> for BorderEndStartRadius
Source§impl From<Percentage> for BorderEndStartRadius
impl From<Percentage> for BorderEndStartRadius
Source§fn from(v: Percentage) -> Self
fn from(v: Percentage) -> Self
Converts to this type from the input type.
Source§impl From<Raw> for BorderEndStartRadius
impl From<Raw> for BorderEndStartRadius
Source§impl PartialEq for BorderEndStartRadius
impl PartialEq for BorderEndStartRadius
impl StructuralPartialEq for BorderEndStartRadius
Auto Trait Implementations§
impl Freeze for BorderEndStartRadius
impl RefUnwindSafe for BorderEndStartRadius
impl Send for BorderEndStartRadius
impl Sync for BorderEndStartRadius
impl Unpin for BorderEndStartRadius
impl UnsafeUnpin for BorderEndStartRadius
impl UnwindSafe for BorderEndStartRadius
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