Enum PackPosition
#[non_exhaustive]pub enum PackPosition {
Top,
Bottom,
}Expand description
Where an always-active pack enters a selection that does not already name it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Top
Above other packs, giving its resources higher priority.
Bottom
Below other packs, giving its resources lower priority.
Trait Implementations§
§impl Clone for PackPosition
impl Clone for PackPosition
§fn clone(&self) -> PackPosition
fn clone(&self) -> PackPosition
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 PackPosition
§impl Debug for PackPosition
impl Debug for PackPosition
impl Eq for PackPosition
§impl PartialEq for PackPosition
impl PartialEq for PackPosition
impl StructuralPartialEq for PackPosition
Auto Trait Implementations§
impl Freeze for PackPosition
impl RefUnwindSafe for PackPosition
impl Send for PackPosition
impl Sync for PackPosition
impl Unpin for PackPosition
impl UnsafeUnpin for PackPosition
impl UnwindSafe for PackPosition
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