Expand description
The fill mode of a rule.
Variants
Full
Fill the whole length of the container.
Percent(f32)
Fill a percent of the length of the container. The rule will be centered in that container.
The range is [0.0, 100.0]
.
Padded(u16)
Uniform offset from each end, length units.
AsymmetricPadding(u16, u16)
Different offset on each end of the rule, length units. First = top or left.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FillMode
impl Send for FillMode
impl Sync for FillMode
impl Unpin for FillMode
impl UnwindSafe for FillMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more