pub struct Term {
pub value: Value,
pub clamp: bool,
pub channels: Channels,
}Expand description
One factor of a draw’s colour: a value (linear RGBA unless it says one channel) multiplied in, optionally clamped to 0..1 first.
Fields§
§value: Value§clamp: bool§channels: ChannelsTrait Implementations§
impl StructuralPartialEq for Term
Auto Trait Implementations§
impl Forget for Term
impl Freeze for Term
impl RefUnwindSafe for Term
impl Send for Term
impl Sync for Term
impl Unpin for Term
impl UnsafeUnpin for Term
impl UnwindSafe for Term
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