Enum blit::slice::BinarySection
source · pub enum BinarySection {
First,
Last,
}
Expand description
Choose which split of the binary section to scale in a repeating fashion.
Variants§
First
Repeat the first section.
When horizontal this is the top section. When vertical this is the left section.
Last
Repeat the second section.
When horizontal this is the bottom section. When vertical this is the right section.
Trait Implementations§
source§impl Clone for BinarySection
impl Clone for BinarySection
source§fn clone(&self) -> BinarySection
fn clone(&self) -> BinarySection
Returns a copy 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 BinarySection
impl Debug for BinarySection
source§impl PartialEq for BinarySection
impl PartialEq for BinarySection
source§fn eq(&self, other: &BinarySection) -> bool
fn eq(&self, other: &BinarySection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BinarySection
impl Eq for BinarySection
impl StructuralPartialEq for BinarySection
Auto Trait Implementations§
impl RefUnwindSafe for BinarySection
impl Send for BinarySection
impl Sync for BinarySection
impl Unpin for BinarySection
impl UnwindSafe for BinarySection
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