pub struct GifViewer { /* private fields */ }Expand description
Implementations§
Trait Implementations§
Source§impl AccessibilityExt for GifViewer
impl AccessibilityExt for GifViewer
fn get_accessibility_data(&mut self) -> &mut AccessibilityData
fn accessibility(self, accessibility: AccessibilityData) -> Self
fn a11y_id(self, a11y_id: impl Into<Option<NodeId>>) -> Self
fn a11y_focusable(self, a11y_focusable: impl Into<Focusable>) -> Self
fn a11y_auto_focus(self, a11y_auto_focus: impl Into<bool>) -> Self
fn a11y_member_of(self, a11y_member_of: impl Into<NodeId>) -> Self
fn a11y_role(self, a11y_role: impl Into<Role>) -> Self
fn a11y_alt(self, value: impl Into<Box<str>>) -> Self
fn a11y_builder(self, with: impl FnOnce(&mut Node)) -> Self
Source§impl ImageExt for GifViewer
impl ImageExt for GifViewer
fn get_image_data(&mut self) -> &mut ImageData
fn width(self, width: Size) -> Self
fn height(self, height: Size) -> Self
fn image_data(self, image_data: ImageData) -> Self
fn sampling_mode(self, sampling_mode: SamplingMode) -> Self
fn aspect_ratio(self, aspect_ratio: AspectRatio) -> Self
fn image_cover(self, image_cover: ImageCover) -> Self
Source§impl LayoutExt for GifViewer
impl LayoutExt for GifViewer
fn get_layout(&mut self) -> &mut LayoutData
fn layout(self, layout: LayoutData) -> Self
Source§impl Render for GifViewer
impl Render for GifViewer
fn render(&self) -> impl IntoElement
fn render_key(&self) -> DiffKey
impl StructuralPartialEq for GifViewer
Auto Trait Implementations§
impl !Freeze for GifViewer
impl !RefUnwindSafe for GifViewer
impl Send for GifViewer
impl Sync for GifViewer
impl Unpin for GifViewer
impl !UnwindSafe for GifViewer
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> ComponentProps for T
impl<T> ComponentProps for T
fn changed(&self, other: &(dyn ComponentProps + 'static)) -> bool
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more