pub enum NewLayer {
Raster,
Folder,
Paper([u8; 3]),
Root,
}Expand description
The kinds of layer ClipFile can add.
Variants§
Raster
A raster (pixel) layer.
Folder
A folder.
Paper([u8; 3])
The paper (用紙) in an RGB colour.
Root
The root folder (only for new files).
Trait Implementations§
impl Copy for NewLayer
impl Eq for NewLayer
impl StructuralPartialEq for NewLayer
Auto Trait Implementations§
impl Freeze for NewLayer
impl RefUnwindSafe for NewLayer
impl Send for NewLayer
impl Sync for NewLayer
impl Unpin for NewLayer
impl UnsafeUnpin for NewLayer
impl UnwindSafe for NewLayer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.