pub enum StyleScrollbarColorParseError<'a> {
InvalidValue(&'a str),
Color(CssColorParseError<'a>),
}Variants§
InvalidValue(&'a str)
Color(CssColorParseError<'a>)
Implementations§
Source§impl StyleScrollbarColorParseError<'_>
impl StyleScrollbarColorParseError<'_>
pub fn to_contained(&self) -> StyleScrollbarColorParseErrorOwned
Trait Implementations§
Source§impl<'a> Clone for StyleScrollbarColorParseError<'a>
impl<'a> Clone for StyleScrollbarColorParseError<'a>
Source§fn clone(&self) -> StyleScrollbarColorParseError<'a>
fn clone(&self) -> StyleScrollbarColorParseError<'a>
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 StyleScrollbarColorParseError<'_>
impl Debug for StyleScrollbarColorParseError<'_>
Source§impl Display for StyleScrollbarColorParseError<'_>
impl Display for StyleScrollbarColorParseError<'_>
Source§impl<'a> From<CssColorParseError<'a>> for StyleScrollbarColorParseError<'a>
impl<'a> From<CssColorParseError<'a>> for StyleScrollbarColorParseError<'a>
Source§fn from(e: CssColorParseError<'a>) -> Self
fn from(e: CssColorParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<StyleScrollbarColorParseError<'a>> for CssParsingError<'a>
impl<'a> From<StyleScrollbarColorParseError<'a>> for CssParsingError<'a>
Source§fn from(e: StyleScrollbarColorParseError<'a>) -> Self
fn from(e: StyleScrollbarColorParseError<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for StyleScrollbarColorParseError<'a>
impl<'a> PartialEq for StyleScrollbarColorParseError<'a>
impl<'a> StructuralPartialEq for StyleScrollbarColorParseError<'a>
Auto Trait Implementations§
impl<'a> Freeze for StyleScrollbarColorParseError<'a>
impl<'a> RefUnwindSafe for StyleScrollbarColorParseError<'a>
impl<'a> Send for StyleScrollbarColorParseError<'a>
impl<'a> Sync for StyleScrollbarColorParseError<'a>
impl<'a> Unpin for StyleScrollbarColorParseError<'a>
impl<'a> UnsafeUnpin for StyleScrollbarColorParseError<'a>
impl<'a> UnwindSafe for StyleScrollbarColorParseError<'a>
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