pub struct Layer {
pub display_destination: RectU,
pub image_source: RectU,
pub image_id: ImageId,
pub image_metadata: ImageMetadata,
pub fallback_color: Color,
pub alpha_mode: AlphaMode,
pub alpha_layer_val: f32,
pub image_source_transformation: CoordinateTransformation,
}Fields§
§display_destination: RectU§image_source: RectU§image_id: ImageId§image_metadata: ImageMetadata§fallback_color: Color§alpha_mode: AlphaMode§alpha_layer_val: f32§image_source_transformation: CoordinateTransformationTrait Implementations§
Source§impl<'a, ___E> Encode<Layer, ___E> for &'a Layerwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Layer, ___E> for &'a Layerwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<Layer, ___E> for Layerwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Layer, ___E> for Layerwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl FromWireRef<Layer> for Layer
impl FromWireRef<Layer> for Layer
Source§fn from_wire_ref(wire: &Layer) -> Layer
fn from_wire_ref(wire: &Layer) -> Layer
Converts the given reference to this type.
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]