pub enum KittyImageDelete {
All {
delete: bool,
},
ByImageId {
image_id: u32,
placement_id: Option<u32>,
delete: bool,
},
ByImageNumber {
image_number: u32,
placement_id: Option<u32>,
delete: bool,
},
AtCursorPosition {
delete: bool,
},
AnimationFrames {
delete: bool,
},
DeleteAt {
x: u32,
y: u32,
delete: bool,
},
DeleteAtZ {
x: u32,
y: u32,
z: i32,
delete: bool,
},
DeleteColumn {
x: u32,
delete: bool,
},
DeleteRow {
y: u32,
delete: bool,
},
DeleteZ {
z: i32,
delete: bool,
},
}
Expand description
When the uppercase form is used, the delete: field is set to true which means that the underlying data is also released. Otherwise, the data is available to be placed again.
Variants
All
Fields
delete: bool
d=‘a’ or d=‘A’. Delete all placements on visible screen
ByImageId
d=‘i’ or d=‘I’ Delete all images with specified image_id. If placement_id is specified, then both image_id and placement_id must match
ByImageNumber
d=‘n’ or d=‘N’ Delete newest image with specified image number. If placement_id is specified, then placement_id must also match.
AtCursorPosition
Fields
delete: bool
d=‘c’ or d=‘C’ Delete all placements that intersect with the current cursor position.
AnimationFrames
Fields
delete: bool
d=‘f’ or d=‘F’ Delete animation frames
DeleteAt
d=‘p’ or d=‘P’ Delete all placements that intersect the specified cell x and y coordinates
DeleteAtZ
d=‘q’ or d=‘Q’ Delete all placements that intersect the specified cell x and y coordinates, with the specified z-index
DeleteColumn
d=‘x’ or d=‘X’ Delete all placements that intersect the specified column.
DeleteRow
d=‘y’ or d=‘Y’ Delete all placements that intersect the specified row.
DeleteZ
d=‘z’ or d=‘Z’ Delete all placements that have the specified z-index.
Trait Implementations
sourceimpl Clone for KittyImageDelete
impl Clone for KittyImageDelete
sourcefn clone(&self) -> KittyImageDelete
fn clone(&self) -> KittyImageDelete
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KittyImageDelete
impl Debug for KittyImageDelete
sourceimpl PartialEq<KittyImageDelete> for KittyImageDelete
impl PartialEq<KittyImageDelete> for KittyImageDelete
sourcefn eq(&self, other: &KittyImageDelete) -> bool
fn eq(&self, other: &KittyImageDelete) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &KittyImageDelete) -> bool
fn ne(&self, other: &KittyImageDelete) -> bool
This method tests for !=
.
impl Eq for KittyImageDelete
impl StructuralEq for KittyImageDelete
impl StructuralPartialEq for KittyImageDelete
Auto Trait Implementations
impl RefUnwindSafe for KittyImageDelete
impl Send for KittyImageDelete
impl Sync for KittyImageDelete
impl Unpin for KittyImageDelete
impl UnwindSafe for KittyImageDelete
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