pub enum End {
Left,
Right,
}Expand description
Which end a command works from.
LPUSH and RPUSH are one method, and so are LPOP and RPOP, because
the difference between each pair is this and nothing else. LMOVE needs two
of them and would need two flags whichever way this was written.
Variants§
Implementations§
Trait Implementations§
impl Copy for End
impl Eq for End
impl StructuralPartialEq for End
Auto Trait Implementations§
impl Freeze for End
impl RefUnwindSafe for End
impl Send for End
impl Sync for End
impl Unpin for End
impl UnsafeUnpin for End
impl UnwindSafe for End
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