Struct sixtyfps_corelib::items::ClippedImage [−][src]
#[repr(C)]pub struct ClippedImage { pub source: Property<ImageReference>, pub x: Property<f32>, pub y: Property<f32>, pub width: Property<f32>, pub height: Property<f32>, pub image_fit: Property<ImageFit>, pub colorize: Property<Brush>, pub source_clip_x: Property<i32>, pub source_clip_y: Property<i32>, pub source_clip_width: Property<i32>, pub source_clip_height: Property<i32>, pub cached_rendering_data: CachedRenderingData, }
The implementation of the ClippedImage
element
Fields
source: Property<ImageReference>
x: Property<f32>
y: Property<f32>
width: Property<f32>
height: Property<f32>
image_fit: Property<ImageFit>
colorize: Property<Brush>
source_clip_x: Property<i32>
source_clip_y: Property<i32>
source_clip_width: Property<i32>
source_clip_height: Property<i32>
cached_rendering_data: CachedRenderingData
Implementations
impl ClippedImage
[src]
impl ClippedImage
[src]pub const FIELD_OFFSETS: ClippedImageFieldsOffsets
[src]
Return a struct containing the offset of for the fields of this struct
impl ClippedImage
[src]
impl ClippedImage
[src]pub fn source(self: Pin<&Self>) -> ImageReference
[src]
pub fn x(self: Pin<&Self>) -> f32
[src]
pub fn y(self: Pin<&Self>) -> f32
[src]
pub fn width(self: Pin<&Self>) -> f32
[src]
pub fn height(self: Pin<&Self>) -> f32
[src]
pub fn image_fit(self: Pin<&Self>) -> ImageFit
[src]
pub fn colorize(self: Pin<&Self>) -> Brush
[src]
pub fn source_clip_x(self: Pin<&Self>) -> i32
[src]
pub fn source_clip_y(self: Pin<&Self>) -> i32
[src]
pub fn source_clip_width(self: Pin<&Self>) -> i32
[src]
pub fn source_clip_height(self: Pin<&Self>) -> i32
[src]
Trait Implementations
impl Default for ClippedImage
[src]
impl Default for ClippedImage
[src]fn default() -> ClippedImage
[src]
impl HasStaticVTable<ItemVTable> for ClippedImage
[src]
impl HasStaticVTable<ItemVTable> for ClippedImage
[src]fn static_vtable() -> &'static ItemVTable
[src]
impl Item for ClippedImage
[src]
impl Item for ClippedImage
[src]fn init(self: Pin<&Self>, _window: &ComponentWindow)
[src]
fn geometry(self: Pin<&Self>) -> Rect
[src]
fn layouting_info(self: Pin<&Self>, window: &ComponentWindow) -> LayoutInfo
[src]
fn implicit_size(self: Pin<&Self>, window: &ComponentWindow) -> Size
[src]
fn input_event_filter_before_children(
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
[src]
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
fn input_event(
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
[src]
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
fn key_event(
self: Pin<&Self>,
_: &KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
[src]
self: Pin<&Self>,
_: &KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
fn focus_event(self: Pin<&Self>, _: &FocusEvent, _window: &ComponentWindow)
[src]
fn render(self: Pin<&Self>, backend: &mut &mut dyn ItemRenderer)
[src]
impl ItemConsts for ClippedImage
[src]
impl ItemConsts for ClippedImage
[src]const cached_rendering_data_offset: FieldOffset<ClippedImage, CachedRenderingData>
[src]
impl<'__dummy_lifetime> Unpin for ClippedImage where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]
impl<'__dummy_lifetime> Unpin for ClippedImage where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]Auto Trait Implementations
impl !RefUnwindSafe for ClippedImage
impl !RefUnwindSafe for ClippedImage
impl !Send for ClippedImage
impl !Send for ClippedImage
impl !Sync for ClippedImage
impl !Sync for ClippedImage
impl UnwindSafe for ClippedImage
impl UnwindSafe for ClippedImage