pub enum LayerTarget {
Colour,
Opacity,
}Expand description
What a LaidLayer changes.
Variants§
Colour
The colour, by the layer’s colour; the opacity is left as it is.
Opacity
The opacity, by the layer’s brightness (the mean of its red, green and blue, clamped to 0..1); the colour is left as it is.
Trait Implementations§
Source§impl Clone for LayerTarget
impl Clone for LayerTarget
impl Copy for LayerTarget
Source§impl Debug for LayerTarget
impl Debug for LayerTarget
impl Eq for LayerTarget
Source§impl PartialEq for LayerTarget
impl PartialEq for LayerTarget
Source§impl Serialize for LayerTarget
impl Serialize for LayerTarget
impl StructuralPartialEq for LayerTarget
Auto Trait Implementations§
impl Forget for LayerTarget
impl Freeze for LayerTarget
impl RefUnwindSafe for LayerTarget
impl Send for LayerTarget
impl Sync for LayerTarget
impl Unpin for LayerTarget
impl UnsafeUnpin for LayerTarget
impl UnwindSafe for LayerTarget
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.