[−][src]Struct femtovg::CompositeOperationState
Determines how a new ("source") data is displayed against an existing ("destination") data.
Implementations
impl CompositeOperationState
[src]
pub fn new(op: CompositeOperation) -> Self
[src]
Creates a new CompositeOperationState from the provided CompositeOperation
pub fn with_blend_factors(
src_factor: BlendFactor,
dst_factor: BlendFactor
) -> Self
[src]
src_factor: BlendFactor,
dst_factor: BlendFactor
) -> Self
Creates a new CompositeOperationState with source and destination blend factors.
Trait Implementations
impl Clone for CompositeOperationState
[src]
pub fn clone(&self) -> CompositeOperationState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CompositeOperationState
[src]
impl Debug for CompositeOperationState
[src]
impl Default for CompositeOperationState
[src]
impl Eq for CompositeOperationState
[src]
impl Hash for CompositeOperationState
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<CompositeOperationState> for CompositeOperationState
[src]
pub fn eq(&self, other: &CompositeOperationState) -> bool
[src]
pub fn ne(&self, other: &CompositeOperationState) -> bool
[src]
impl PartialOrd<CompositeOperationState> for CompositeOperationState
[src]
pub fn partial_cmp(&self, other: &CompositeOperationState) -> Option<Ordering>
[src]
pub fn lt(&self, other: &CompositeOperationState) -> bool
[src]
pub fn le(&self, other: &CompositeOperationState) -> bool
[src]
pub fn gt(&self, other: &CompositeOperationState) -> bool
[src]
pub fn ge(&self, other: &CompositeOperationState) -> bool
[src]
impl StructuralEq for CompositeOperationState
[src]
impl StructuralPartialEq for CompositeOperationState
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompositeOperationState
[src]
impl Send for CompositeOperationState
[src]
impl Sync for CompositeOperationState
[src]
impl Unpin for CompositeOperationState
[src]
impl UnwindSafe for CompositeOperationState
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,