#[repr(C, u8)]pub enum OptionStyleBackgroundRepeat {
None,
Some(StyleBackgroundRepeat),
}Variants§
None
Some(StyleBackgroundRepeat)
Implementations§
Source§impl OptionStyleBackgroundRepeat
impl OptionStyleBackgroundRepeat
pub fn into_option(&self) -> Option<StyleBackgroundRepeat>
Source§impl OptionStyleBackgroundRepeat
impl OptionStyleBackgroundRepeat
pub fn as_option(&self) -> Option<&StyleBackgroundRepeat>
pub fn replace( &mut self, value: StyleBackgroundRepeat, ) -> OptionStyleBackgroundRepeat
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&StyleBackgroundRepeat>
pub fn as_mut(&mut self) -> Option<&mut StyleBackgroundRepeat>
pub fn map<U, F: FnOnce(StyleBackgroundRepeat) -> U>(self, f: F) -> Option<U>
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl Clone for OptionStyleBackgroundRepeat
impl Clone for OptionStyleBackgroundRepeat
Source§fn clone(&self) -> OptionStyleBackgroundRepeat
fn clone(&self) -> OptionStyleBackgroundRepeat
Returns a duplicate of the value. Read more
1.0.0 · 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 OptionStyleBackgroundRepeat
impl Debug for OptionStyleBackgroundRepeat
Source§impl Default for OptionStyleBackgroundRepeat
impl Default for OptionStyleBackgroundRepeat
Source§fn default() -> OptionStyleBackgroundRepeat
fn default() -> OptionStyleBackgroundRepeat
Returns the “default value” for a type. Read more
Source§impl From<Option<StyleBackgroundRepeat>> for OptionStyleBackgroundRepeat
impl From<Option<StyleBackgroundRepeat>> for OptionStyleBackgroundRepeat
Source§fn from(o: Option<StyleBackgroundRepeat>) -> OptionStyleBackgroundRepeat
fn from(o: Option<StyleBackgroundRepeat>) -> OptionStyleBackgroundRepeat
Converts to this type from the input type.
Source§impl From<OptionStyleBackgroundRepeat> for Option<StyleBackgroundRepeat>
impl From<OptionStyleBackgroundRepeat> for Option<StyleBackgroundRepeat>
Source§fn from(o: OptionStyleBackgroundRepeat) -> Option<StyleBackgroundRepeat>
fn from(o: OptionStyleBackgroundRepeat) -> Option<StyleBackgroundRepeat>
Converts to this type from the input type.
Source§impl Hash for OptionStyleBackgroundRepeat
impl Hash for OptionStyleBackgroundRepeat
Source§impl Ord for OptionStyleBackgroundRepeat
impl Ord for OptionStyleBackgroundRepeat
Source§fn cmp(&self, other: &OptionStyleBackgroundRepeat) -> Ordering
fn cmp(&self, other: &OptionStyleBackgroundRepeat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for OptionStyleBackgroundRepeat
impl PartialOrd for OptionStyleBackgroundRepeat
impl Copy for OptionStyleBackgroundRepeat
impl Eq for OptionStyleBackgroundRepeat
impl StructuralPartialEq for OptionStyleBackgroundRepeat
Auto Trait Implementations§
impl Freeze for OptionStyleBackgroundRepeat
impl RefUnwindSafe for OptionStyleBackgroundRepeat
impl Send for OptionStyleBackgroundRepeat
impl Sync for OptionStyleBackgroundRepeat
impl Unpin for OptionStyleBackgroundRepeat
impl UnsafeUnpin for OptionStyleBackgroundRepeat
impl UnwindSafe for OptionStyleBackgroundRepeat
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