[−][src]Struct iced_native::renderer::Null
A renderer that does nothing.
Trait Implementations
impl Renderer for Null
[src]
type Output = ()
The type of output of the [Renderer
]. Read more
fn layout<'a, Message>(&mut self, element: &Element<'a, Message, Self>) -> Node
[src]
impl Renderer for Null
[src]
fn draw(
&mut self,
_bounds: Rectangle,
_cursor_position: Point,
_is_pressed: bool,
_background: Option<Background>,
_border_radius: u16,
_content: Self::Output
) -> Self::Output
[src]
&mut self,
_bounds: Rectangle,
_cursor_position: Point,
_is_pressed: bool,
_background: Option<Background>,
_border_radius: u16,
_content: Self::Output
) -> Self::Output
impl Renderer for Null
[src]
fn default_size(&self) -> u32
[src]
fn draw(
&mut self,
_bounds: Rectangle,
_is_checked: bool,
_is_mouse_over: bool,
_label: Self::Output
)
[src]
&mut self,
_bounds: Rectangle,
_is_checked: bool,
_is_mouse_over: bool,
_label: Self::Output
)
impl Renderer for Null
[src]
fn draw<Message>(
&mut self,
_content: &[Element<Message, Self>],
_layout: Layout,
_cursor_position: Point
)
[src]
&mut self,
_content: &[Element<Message, Self>],
_layout: Layout,
_cursor_position: Point
)
impl Renderer for Null
[src]
fn default_size(&self) -> u32
[src]
fn draw(
&mut self,
_bounds: Rectangle,
_is_selected: bool,
_is_mouse_over: bool,
_label: Self::Output
)
[src]
&mut self,
_bounds: Rectangle,
_is_selected: bool,
_is_mouse_over: bool,
_label: Self::Output
)
impl Renderer for Null
[src]
fn draw<Message>(
&mut self,
_content: &[Element<Message, Self>],
_layout: Layout,
_cursor_position: Point
)
[src]
&mut self,
_content: &[Element<Message, Self>],
_layout: Layout,
_cursor_position: Point
)
impl Renderer for Null
[src]
fn is_mouse_over_scrollbar(
&self,
_bounds: Rectangle,
_content_bounds: Rectangle,
_cursor_position: Point
) -> bool
[src]
&self,
_bounds: Rectangle,
_content_bounds: Rectangle,
_cursor_position: Point
) -> bool
fn draw(
&mut self,
_scrollable: &State,
_bounds: Rectangle,
_content_bounds: Rectangle,
_is_mouse_over: bool,
_is_mouse_over_scrollbar: bool,
_offset: u32,
_content: Self::Output
)
[src]
&mut self,
_scrollable: &State,
_bounds: Rectangle,
_content_bounds: Rectangle,
_is_mouse_over: bool,
_is_mouse_over_scrollbar: bool,
_offset: u32,
_content: Self::Output
)
impl Renderer for Null
[src]
fn default_size(&self) -> u16
[src]
fn measure(
&self,
_content: &str,
_size: u16,
_font: Font,
_bounds: Size
) -> (f32, f32)
[src]
&self,
_content: &str,
_size: u16,
_font: Font,
_bounds: Size
) -> (f32, f32)
fn draw(
&mut self,
_bounds: Rectangle,
_content: &str,
_size: u16,
_font: Font,
_color: Option<Color>,
_horizontal_alignment: HorizontalAlignment,
_vertical_alignment: VerticalAlignment
)
[src]
&mut self,
_bounds: Rectangle,
_content: &str,
_size: u16,
_font: Font,
_color: Option<Color>,
_horizontal_alignment: HorizontalAlignment,
_vertical_alignment: VerticalAlignment
)
impl Renderer for Null
[src]
fn default_size(&self) -> u16
[src]
fn draw(
&mut self,
_bounds: Rectangle,
_text_bounds: Rectangle,
_cursor_position: Point,
_size: u16,
_placeholder: &str,
_value: &Value,
_state: &State
) -> Self::Output
[src]
&mut self,
_bounds: Rectangle,
_text_bounds: Rectangle,
_cursor_position: Point,
_size: u16,
_placeholder: &str,
_value: &Value,
_state: &State
) -> Self::Output
impl Clone for Null
[src]
impl Copy for Null
[src]
impl Debug for Null
[src]
Auto Trait Implementations
impl Send for Null
impl Sync for Null
impl Unpin for Null
impl UnwindSafe for Null
impl RefUnwindSafe for Null
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,