pub enum ImageRepeat {
Repeat,
RepeatX,
RepeatY,
NoRepeat,
}Expand description
How to fill space an image does not cover. Flutter ImageRepeat.
Variants§
Repeat
Repeat in both directions until the box is full.
RepeatX
Repeat only across.
RepeatY
Repeat only down.
NoRepeat
Leave the rest of the box empty.
Trait Implementations§
Source§impl Clone for ImageRepeat
impl Clone for ImageRepeat
Source§fn clone(&self) -> ImageRepeat
fn clone(&self) -> ImageRepeat
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 moreimpl Copy for ImageRepeat
Source§impl Debug for ImageRepeat
impl Debug for ImageRepeat
Source§impl Default for ImageRepeat
impl Default for ImageRepeat
Source§fn default() -> ImageRepeat
fn default() -> ImageRepeat
Returns the “default value” for a type. Read more
impl Eq for ImageRepeat
Source§impl PartialEq for ImageRepeat
impl PartialEq for ImageRepeat
impl StructuralPartialEq for ImageRepeat
Auto Trait Implementations§
impl Forget for ImageRepeat
impl Freeze for ImageRepeat
impl Move for ImageRepeat
impl RefUnwindSafe for ImageRepeat
impl Send for ImageRepeat
impl Sync for ImageRepeat
impl Unpin for ImageRepeat
impl UnsafeUnpin for ImageRepeat
impl UnwindSafe for ImageRepeat
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.