Struct forma_render::styling::Texture
source · pub struct Texture {
pub transform: AffineTransform,
pub image: Image,
}Expand description
Describes how to shade a surface using a bitmap image.
Fields§
§transform: AffineTransformTransformation from screen-space to texture-space.
image: ImageImage shared with zero or more textures.
Trait Implementations§
impl Eq for Texture
impl StructuralEq for Texture
impl StructuralPartialEq for Texture
Auto Trait Implementations§
impl RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl UnwindSafe for Texture
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.