pub struct ImageProps {
pub layout: LayoutStyle,
pub image: ImageId,
pub fit: ViewportFit,
pub sampling: ImageSamplingHint,
pub opacity: f32,
pub uv: Option<UvRect>,
}Fields§
§layout: LayoutStyle§image: ImageId§fit: ViewportFit§sampling: ImageSamplingHint§opacity: f32§uv: Option<UvRect>Implementations§
Source§impl ImageProps
impl ImageProps
Trait Implementations§
Source§impl Clone for ImageProps
impl Clone for ImageProps
Source§fn clone(&self) -> ImageProps
fn clone(&self) -> ImageProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageProps
impl Debug for ImageProps
Source§impl IntoElement for ImageProps
impl IntoElement for ImageProps
fn into_element(self, id: GlobalElementId) -> AnyElement
impl Copy for ImageProps
Auto Trait Implementations§
impl Freeze for ImageProps
impl RefUnwindSafe for ImageProps
impl Send for ImageProps
impl Sync for ImageProps
impl Unpin for ImageProps
impl UnsafeUnpin for ImageProps
impl UnwindSafe for ImageProps
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