pub struct GhostImage {
    common: CommonBuilder,
    image_id: Id,
    style: Style,
}Expand description
This widget is like conrod’s Image widget except it always returns false
for is_over so widgets under it are still interactable
Fields§
§common: CommonBuilder§image_id: Id§style: StyleImplementations§
Source§impl GhostImage
 
impl GhostImage
Trait Implementations§
Source§impl Common for GhostImage
 
impl Common for GhostImage
Source§impl Widget for GhostImage
 
impl Widget for GhostImage
Source§type Event = ()
 
type Event = ()
The type of event yielded by the widget, returned via the 
Widget::set function. Read moreSource§type Style = Style
 
type Style = Style
Every widget is required to have its own associated 
Style type. This type is intended to
contain high-level styling information for the widget that can be optionally specified by
a user of the widget. Read moreSource§fn init_state(&self, _: Generator<'_>) -> Self::State
 
fn init_state(&self, _: Generator<'_>) -> Self::State
Return the initial State of the Widget. Read more
Source§fn update(self, args: UpdateArgs<'_, '_, '_, '_, Self>) -> Self::Event
 
fn update(self, args: UpdateArgs<'_, '_, '_, '_, Self>) -> Self::Event
Update our Widget’s unique Widget::State via the State wrapper type (the
state field within the UpdateArgs). Read more§fn default_x_position(&self, ui: &Ui) -> Position
 
fn default_x_position(&self, ui: &Ui) -> Position
The default Position for the widget along the x axis. Read more
§fn default_y_position(&self, ui: &Ui) -> Position
 
fn default_y_position(&self, ui: &Ui) -> Position
The default Position for the widget along the y axis. Read more
§fn default_x_dimension(&self, ui: &Ui) -> Dimension
 
fn default_x_dimension(&self, ui: &Ui) -> Dimension
The default width for the Widget. Read more
§fn default_y_dimension(&self, ui: &Ui) -> Dimension
 
fn default_y_dimension(&self, ui: &Ui) -> Dimension
The default height of the widget. Read more
§fn drag_area(
    &self,
    _dim: [f64; 2],
    _style: &Self::Style,
    _theme: &Theme,
) -> Option<Rect>
 
fn drag_area( &self, _dim: [f64; 2], _style: &Self::Style, _theme: &Theme, ) -> Option<Rect>
If the widget is draggable, implement this method and return the position and dimensions of
the draggable space. The position should be relative to the center of the widget.
§fn kid_area(&self, args: KidAreaArgs<'_, Self>) -> KidArea
 
fn kid_area(&self, args: KidAreaArgs<'_, Self>) -> KidArea
The area on which child widgets will be placed when using the 
Place Position methods.§fn parent(self, parent_id: NodeIndex) -> Self
 
fn parent(self, parent_id: NodeIndex) -> Self
Set the parent widget for this Widget by passing the WidgetId of the parent. Read more
§fn place_on_kid_area(self, b: bool) -> Self
 
fn place_on_kid_area(self, b: bool) -> Self
Set whether or not the Widget should be placed on the kid_area. Read more
§fn graphics_for(self, id: NodeIndex) -> Self
 
fn graphics_for(self, id: NodeIndex) -> Self
Indicates that the Widget is used as a non-interactive graphical element for some other
widget. Read more
§fn floating(self, is_floating: bool) -> Self
 
fn floating(self, is_floating: bool) -> Self
Set whether or not the widget is floating (the default is 
false).
A typical example of a floating widget would be a pop-up or alert window. Read more§fn crop_kids(self) -> Self
 
fn crop_kids(self) -> Self
Indicates that all widgets who are children of this widget should be cropped to the
kid_area of this widget.§fn scroll_kids(self) -> Self
 
fn scroll_kids(self) -> Self
Makes the widget’s 
KidArea scrollable. Read more§fn scroll_kids_vertically(self) -> Self
 
fn scroll_kids_vertically(self) -> Self
Makes the widget’s 
KidArea scrollable. Read more§fn scroll_kids_horizontally(self) -> Self
 
fn scroll_kids_horizontally(self) -> Self
Set whether or not the widget’s 
KidArea is scrollable (the default is false). Read more§fn and<F>(self, build: F) -> Selfwhere
    F: FnOnce(Self) -> Self,
 
fn and<F>(self, build: F) -> Selfwhere
    F: FnOnce(Self) -> Self,
A builder method that “lifts” the Widget through the given 
build function. Read more§fn and_mut<F>(self, mutate: F) -> Selfwhere
    F: FnOnce(&mut Self),
 
fn and_mut<F>(self, mutate: F) -> Selfwhere
    F: FnOnce(&mut Self),
A builder method that mutates the Widget with the given 
mutate function. Read more§fn and_if<F>(self, cond: bool, build: F) -> Selfwhere
    F: FnOnce(Self) -> Self,
 
fn and_if<F>(self, cond: bool, build: F) -> Selfwhere
    F: FnOnce(Self) -> Self,
A method that conditionally builds the Widget with the given 
build function. Read moreAuto Trait Implementations§
impl Freeze for GhostImage
impl RefUnwindSafe for GhostImage
impl Send for GhostImage
impl Sync for GhostImage
impl Unpin for GhostImage
impl UnwindSafe for GhostImage
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> CheckedAs for T
 
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
    T: CheckedCast<Dst>,
 
fn checked_as<Dst>(self) -> Option<Dst>where
    T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
    Src: CheckedCast<Dst>,
 
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
    Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
 
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
§impl<T> Conv for T
 
impl<T> Conv for T
§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> FmtForward for T
 
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
    Self: Binary,
 
fn fmt_binary(self) -> FmtBinary<Self>where
    Self: Binary,
Causes 
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
    Self: Display,
 
fn fmt_display(self) -> FmtDisplay<Self>where
    Self: Display,
Causes 
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
    Self: LowerExp,
 
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
    Self: LowerExp,
Causes 
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
    Self: LowerHex,
 
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
    Self: LowerHex,
Causes 
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
    Self: Octal,
 
fn fmt_octal(self) -> FmtOctal<Self>where
    Self: Octal,
Causes 
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
    Self: Pointer,
 
fn fmt_pointer(self) -> FmtPointer<Self>where
    Self: Pointer,
Causes 
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
    Self: UpperExp,
 
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
    Self: UpperExp,
Causes 
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
    Self: UpperHex,
 
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
    Self: UpperHex,
Causes 
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
    &'a Self: for<'a> IntoIterator,
 
fn fmt_list(self) -> FmtList<Self>where
    &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
§impl<S> FromSample<S> for S
 
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> GetSetFdFlags for T
 
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
    T: AsFilelike,
 
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
    T: AsFilelike,
Query the “status” flags for the 
self file descriptor.§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
    T: AsFilelike,
 
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
    T: AsFilelike,
§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§impl<'src, T> IntoMaybe<'src, T> for Twhere
    T: 'src,
 
impl<'src, T> IntoMaybe<'src, T> for Twhere
    T: 'src,
§impl<F, T> IntoSample<T> for Fwhere
    T: FromSample<F>,
 
impl<F, T> IntoSample<T> for Fwhere
    T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<W> ItemTooltipable for Wwhere
    W: Widget,
 
impl<W> ItemTooltipable for Wwhere
    W: Widget,
fn with_item_tooltip<'a, I>( self, tooltip_manager: &'a mut ItemTooltipManager, items: I, prices: &'a Option<SitePrices>, tooltip: &'a ItemTooltip<'a>, ) -> ItemTooltipped<'a, W, I>
Source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
    Dst: LosslessTryFrom<Src>,
 
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
    Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
 
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
    Dst: LossyFrom<Src>,
 
impl<Src, Dst> LossyInto<Dst> for Srcwhere
    Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
 
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<T> OverflowingAs for T
 
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
    T: OverflowingCast<Dst>,
 
fn overflowing_as<Dst>(self) -> (Dst, bool)where
    T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
    Src: OverflowingCast<Dst>,
 
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
    Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
 
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
§impl<T> Pipe for Twhere
    T: ?Sized,
 
impl<T> Pipe for Twhere
    T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
    Self: Sized,
 
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
    Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
    R: 'a,
 
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
    R: 'a,
Borrows 
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
    R: 'a,
 
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
    R: 'a,
Mutably borrows 
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
 
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
    &'a mut self,
    func: impl FnOnce(&'a mut B) -> R,
) -> R
 
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
 
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows 
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
 
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows 
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
 
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows 
self, then passes self.deref() into the pipe function.§impl<T> Pointable for T
 
impl<T> Pointable for T
§impl<T> Pointee for T
 
impl<T> Pointee for T
Source§impl<W> Position for Wwhere
    W: Positionable,
 
impl<W> Position for Wwhere
    W: Positionable,
fn position(self, request: PositionSpecifier) -> W
§impl<W> Positionable for Wwhere
    W: Widget,
 
impl<W> Positionable for Wwhere
    W: Widget,
§fn x_position(self, x: Position) -> W
 
fn x_position(self, x: Position) -> W
Build with the given Position along the x axis.
§fn y_position(self, y: Position) -> W
 
fn y_position(self, y: Position) -> W
Build with the given Position along the y axis.
§fn get_x_position(&self, ui: &Ui) -> Position
 
fn get_x_position(&self, ui: &Ui) -> Position
Get the Position along the x axis.
§fn get_y_position(&self, ui: &Ui) -> Position
 
fn get_y_position(&self, ui: &Ui) -> Position
Get the Position along the y axis.
§fn depth(self, depth: f32) -> W
 
fn depth(self, depth: f32) -> W
The depth at which the widget should be rendered relatively to its sibling widgets.
§fn x_position_relative(self, x: Relative) -> Self
 
fn x_position_relative(self, x: Relative) -> Self
Set the x Position Relative to the previous widget.
§fn y_position_relative(self, y: Relative) -> Self
 
fn y_position_relative(self, y: Relative) -> Self
Set the y Position Relative to the previous widget.
§fn x_y_position_relative(self, x: Relative, y: Relative) -> Self
 
fn x_y_position_relative(self, x: Relative, y: Relative) -> Self
Set the x and y Positions Relative to the previous widget.
§fn x_position_relative_to(self, other: NodeIndex, x: Relative) -> Self
 
fn x_position_relative_to(self, other: NodeIndex, x: Relative) -> Self
Set the x Position Relative to the given widget.
§fn y_position_relative_to(self, other: NodeIndex, y: Relative) -> Self
 
fn y_position_relative_to(self, other: NodeIndex, y: Relative) -> Self
Set the y Position Relative to the given widget.
§fn x_y_position_relative_to(
    self,
    other: NodeIndex,
    x: Relative,
    y: Relative,
) -> Self
 
fn x_y_position_relative_to( self, other: NodeIndex, x: Relative, y: Relative, ) -> Self
Set the x and y Positions Relative to the given widget.
§fn x_relative(self, x: f64) -> Self
 
fn x_relative(self, x: f64) -> Self
Set the Position as a Scalar along the x axis Relative to the middle of
previous widget.
§fn y_relative(self, y: f64) -> Self
 
fn y_relative(self, y: f64) -> Self
Set the Position as a Scalar along the y axis Relative to the middle of
previous widget.
§fn xy_relative(self, point: [f64; 2]) -> Self
 
fn xy_relative(self, point: [f64; 2]) -> Self
Set the Position as a Point Relative to the middle of the previous widget.
§fn x_y_relative(self, x: f64, y: f64) -> Self
 
fn x_y_relative(self, x: f64, y: f64) -> Self
Set the Position as Scalars along the x and y axes Relative to the middle
of the previous widget.
§fn x_relative_to(self, other: NodeIndex, x: f64) -> Self
 
fn x_relative_to(self, other: NodeIndex, x: f64) -> Self
Set the position relative to the widget with the given widget::Id.
§fn y_relative_to(self, other: NodeIndex, y: f64) -> Self
 
fn y_relative_to(self, other: NodeIndex, y: f64) -> Self
Set the position relative to the widget with the given widget::Id.
§fn xy_relative_to(self, other: NodeIndex, xy: [f64; 2]) -> Self
 
fn xy_relative_to(self, other: NodeIndex, xy: [f64; 2]) -> Self
Set the position relative to the widget with the given widget::Id.
§fn x_y_relative_to(self, other: NodeIndex, x: f64, y: f64) -> Self
 
fn x_y_relative_to(self, other: NodeIndex, x: f64, y: f64) -> Self
Set the position relative to the widget with the given widget::Id.
§fn x_direction(self, direction: Direction, x: f64) -> Self
 
fn x_direction(self, direction: Direction, x: f64) -> Self
Build with the Position along the x axis as some distance from another widget.
§fn y_direction(self, direction: Direction, y: f64) -> Self
 
fn y_direction(self, direction: Direction, y: f64) -> Self
Build with the Position along the y axis as some distance from another widget.
§fn left(self, x: f64) -> Self
 
fn left(self, x: f64) -> Self
Build with the Position as some distance to the left of another widget.
§fn right(self, x: f64) -> Self
 
fn right(self, x: f64) -> Self
Build with the Position as some distance to the right of another widget.
§fn x_direction_from(
    self,
    other: NodeIndex,
    direction: Direction,
    x: f64,
) -> Self
 
fn x_direction_from( self, other: NodeIndex, direction: Direction, x: f64, ) -> Self
Build with the Position along the x axis as some distance from the given widget.
§fn y_direction_from(
    self,
    other: NodeIndex,
    direction: Direction,
    y: f64,
) -> Self
 
fn y_direction_from( self, other: NodeIndex, direction: Direction, y: f64, ) -> Self
Build with the Position along the y axis as some distance from the given widget.
§fn down_from(self, other: NodeIndex, y: f64) -> Self
 
fn down_from(self, other: NodeIndex, y: f64) -> Self
Build with the Position as some distance below the given widget.
§fn up_from(self, other: NodeIndex, y: f64) -> Self
 
fn up_from(self, other: NodeIndex, y: f64) -> Self
Build with the Position as some distance above the given widget.
§fn left_from(self, other: NodeIndex, x: f64) -> Self
 
fn left_from(self, other: NodeIndex, x: f64) -> Self
Build with the Position as some distance to the left of the given widget.
§fn right_from(self, other: NodeIndex, x: f64) -> Self
 
fn right_from(self, other: NodeIndex, x: f64) -> Self
Build with the Position as some distance to the right of the given widget.
§fn align_left(self) -> Self
 
fn align_left(self) -> Self
Align the position to the left (only effective for Up or Down 
Directions).§fn align_middle_x(self) -> Self
 
fn align_middle_x(self) -> Self
Align the position to the middle (only effective for Up or Down 
Directions).§fn align_right(self) -> Self
 
fn align_right(self) -> Self
Align the position to the right (only effective for Up or Down 
Directions).§fn align_top(self) -> Self
 
fn align_top(self) -> Self
Align the position to the top (only effective for Left or Right 
Directions).§fn align_middle_y(self) -> Self
 
fn align_middle_y(self) -> Self
Align the position to the middle (only effective for Left or Right 
Directions).§fn align_bottom(self) -> Self
 
fn align_bottom(self) -> Self
Align the position to the bottom (only effective for Left or Right 
Directions).§fn x_align_to(self, other: NodeIndex, align: Align) -> Self
 
fn x_align_to(self, other: NodeIndex, align: Align) -> Self
Align the Position of the widget with the given widget along the x axis.
§fn y_align_to(self, other: NodeIndex, align: Align) -> Self
 
fn y_align_to(self, other: NodeIndex, align: Align) -> Self
Align the Position of the widget with the given widget along the y axis.
§fn align_left_of(self, other: NodeIndex) -> Self
 
fn align_left_of(self, other: NodeIndex) -> Self
Align the position to the left (only effective for Up or Down 
Directions).§fn align_middle_x_of(self, other: NodeIndex) -> Self
 
fn align_middle_x_of(self, other: NodeIndex) -> Self
Align the position to the middle (only effective for Up or Down 
Directions).§fn align_right_of(self, other: NodeIndex) -> Self
 
fn align_right_of(self, other: NodeIndex) -> Self
Align the position to the right (only effective for Up or Down 
Directions).§fn align_top_of(self, other: NodeIndex) -> Self
 
fn align_top_of(self, other: NodeIndex) -> Self
Align the position to the top (only effective for Left or Right 
Directions).§fn align_middle_y_of(self, other: NodeIndex) -> Self
 
fn align_middle_y_of(self, other: NodeIndex) -> Self
Align the position to the middle (only effective for Left or Right 
Directions).§fn align_bottom_of(self, other: NodeIndex) -> Self
 
fn align_bottom_of(self, other: NodeIndex) -> Self
Align the position to the bottom (only effective for Left or Right 
Directions).§fn x_place_on(self, other: NodeIndex, place: Place) -> Self
 
fn x_place_on(self, other: NodeIndex, place: Place) -> Self
Place the widget at some position on the 
other Widget along the x axis.§fn y_place_on(self, other: NodeIndex, place: Place) -> Self
 
fn y_place_on(self, other: NodeIndex, place: Place) -> Self
Place the widget at some position on the 
other Widget along the y axis.§fn top_left_of(self, other: NodeIndex) -> Self
 
fn top_left_of(self, other: NodeIndex) -> Self
Place the widget in the top left corner of the given Widget.
§fn top_left_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
 
fn top_left_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
Place the widget in the top left corner of the given Widget with the given margin between
both edges.
§fn top_left_with_margins_on(self, other: NodeIndex, top: f64, left: f64) -> Self
 
fn top_left_with_margins_on(self, other: NodeIndex, top: f64, left: f64) -> Self
Place the widget in the top left corner of the given Widget with the given margins between
each respective edge.
§fn top_right_of(self, other: NodeIndex) -> Self
 
fn top_right_of(self, other: NodeIndex) -> Self
Place the widget in the top right corner of the given Widget.
§fn top_right_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
 
fn top_right_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
Place the widget in the top right corner of the given Widget with the given margin
between both edges.
§fn top_right_with_margins_on(
    self,
    other: NodeIndex,
    top: f64,
    right: f64,
) -> Self
 
fn top_right_with_margins_on( self, other: NodeIndex, top: f64, right: f64, ) -> Self
Place the widget in the top right corner of the given Widget with the given margins between
each respective edge.
§fn bottom_left_of(self, other: NodeIndex) -> Self
 
fn bottom_left_of(self, other: NodeIndex) -> Self
Place the widget in the bottom left corner of the given Widget.
§fn bottom_left_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
 
fn bottom_left_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
Place the widget in the bottom left corner of the given Widget with the given margin
between both edges.
§fn bottom_left_with_margins_on(
    self,
    other: NodeIndex,
    bottom: f64,
    left: f64,
) -> Self
 
fn bottom_left_with_margins_on( self, other: NodeIndex, bottom: f64, left: f64, ) -> Self
Place the widget in the bottom left corner of the given Widget with the given margins
between each respective edge.
§fn bottom_right_of(self, other: NodeIndex) -> Self
 
fn bottom_right_of(self, other: NodeIndex) -> Self
Place the widget in the bottom right corner of the given Widget.
§fn bottom_right_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
 
fn bottom_right_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
Place the widget in the bottom right corner of the given Widget with the given margin
between both edges.
§fn bottom_right_with_margins_on(
    self,
    other: NodeIndex,
    bottom: f64,
    right: f64,
) -> Self
 
fn bottom_right_with_margins_on( self, other: NodeIndex, bottom: f64, right: f64, ) -> Self
Place the widget in the bottom right corner of the given Widget with the given margins
between each respective edge.
§fn mid_top_of(self, other: NodeIndex) -> Self
 
fn mid_top_of(self, other: NodeIndex) -> Self
Place the widget in the middle of the top edge of the given Widget.
§fn mid_top_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
 
fn mid_top_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
Place the widget in the middle of the top edge of the given Widget with the given margin
between the edges.
§fn mid_bottom_of(self, other: NodeIndex) -> Self
 
fn mid_bottom_of(self, other: NodeIndex) -> Self
Place the widget in the middle of the bottom edge of the given Widget.
§fn mid_bottom_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
 
fn mid_bottom_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
Place the widget in the middle of the bottom edge of the given Widget with the given margin
between the edges.
§fn mid_left_of(self, other: NodeIndex) -> Self
 
fn mid_left_of(self, other: NodeIndex) -> Self
Place the widget in the middle of the left edge of the given Widget.
§fn mid_left_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
 
fn mid_left_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
Place the widget in the middle of the left edge of the given Widget with the given margin
between the edges.
§fn mid_right_of(self, other: NodeIndex) -> Self
 
fn mid_right_of(self, other: NodeIndex) -> Self
Place the widget in the middle of the right edge of the given Widget.
§fn mid_right_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
 
fn mid_right_with_margin_on(self, other: NodeIndex, mgn: f64) -> Self
Place the widget in the middle of the right edge of the given Widget with the given margin
between the edges.
§fn x_place(self, place: Place) -> Self
 
fn x_place(self, place: Place) -> Self
Place the widget at some position on the Widget along the x axis.
§fn y_place(self, place: Place) -> Self
 
fn y_place(self, place: Place) -> Self
Place the widget at some position on the Widget along the y axis.
§fn top_left_with_margin(self, mgn: f64) -> Self
 
fn top_left_with_margin(self, mgn: f64) -> Self
Place the widget in the top left corner of the current parent Widget with the given margin
between both edges.
§fn top_left_with_margins(self, top: f64, left: f64) -> Self
 
fn top_left_with_margins(self, top: f64, left: f64) -> Self
Place the widget in the top left corner of the current parent Widget with the given margins
between each respective edge.
§fn top_right_with_margin(self, mgn: f64) -> Self
 
fn top_right_with_margin(self, mgn: f64) -> Self
Place the widget in the top right corner of the current parent Widget with the given margin
between both edges.
§fn top_right_with_margins(self, top: f64, right: f64) -> Self
 
fn top_right_with_margins(self, top: f64, right: f64) -> Self
Place the widget in the top right corner of the current parent Widget with the given margins
between each respective edge.
§fn bottom_left(self) -> Self
 
fn bottom_left(self) -> Self
Place the widget in the bottom left corner of the current parent Widget.
§fn bottom_left_with_margin(self, mgn: f64) -> Self
 
fn bottom_left_with_margin(self, mgn: f64) -> Self
Place the widget in the bottom left corner of the current parent Widget with the given
margin between both edges.
§fn bottom_left_with_margins(self, bottom: f64, left: f64) -> Self
 
fn bottom_left_with_margins(self, bottom: f64, left: f64) -> Self
Place the widget in the bottom left corner of the current parent Widget with the given
margins between each respective edge.
§fn bottom_right(self) -> Self
 
fn bottom_right(self) -> Self
Place the widget in the bottom right corner of the current parent Widget.
§fn bottom_right_with_margin(self, mgn: f64) -> Self
 
fn bottom_right_with_margin(self, mgn: f64) -> Self
Place the widget in the bottom right corner of the current parent Widget with the given
margin between both edges.
§fn bottom_right_with_margins(self, bottom: f64, right: f64) -> Self
 
fn bottom_right_with_margins(self, bottom: f64, right: f64) -> Self
Place the widget in the bottom right corner of the current parent Widget with the given
margins between each respective edge.
§fn mid_top(self) -> Self
 
fn mid_top(self) -> Self
Place the widget in the middle of the top edge of the current parent Widget.
§fn mid_top_with_margin(self, mgn: f64) -> Self
 
fn mid_top_with_margin(self, mgn: f64) -> Self
Place the widget in the middle of the top edge of the current parent Widget with the given
margin from the edge.
§fn mid_bottom(self) -> Self
 
fn mid_bottom(self) -> Self
Place the widget in the middle of the bottom edge of the current parent Widget.
§fn mid_bottom_with_margin(self, mgn: f64) -> Self
 
fn mid_bottom_with_margin(self, mgn: f64) -> Self
Place the widget in the middle of the bottom edge of the current parent Widget with the
given margin from the edge.
§fn mid_left(self) -> Self
 
fn mid_left(self) -> Self
Place the widget in the middle of the left edge of the current parent Widget.
§fn mid_left_with_margin(self, mgn: f64) -> Self
 
fn mid_left_with_margin(self, mgn: f64) -> Self
Place the widget in the middle of the left edge of the current parent Widget with the
given margin from the edge.
§fn mid_right(self) -> Self
 
fn mid_right(self) -> Self
Place the widget in the middle of the right edge of the current parent Widget.
§fn mid_right_with_margin(self, mgn: f64) -> Self
 
fn mid_right_with_margin(self, mgn: f64) -> Self
Place the widget in the middle of the right edge of the current parent Widget with the
given margin from the edge.
Source§impl<T> SaturatingAs for T
 
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
    T: SaturatingCast<Dst>,
 
fn saturating_as<Dst>(self) -> Dstwhere
    T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
    Src: SaturatingCast<Dst>,
 
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
    Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
 
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
§impl<W> Sizeable for Wwhere
    W: Widget,
 
impl<W> Sizeable for Wwhere
    W: Widget,
§fn get_x_dimension(&self, ui: &Ui) -> Dimension
 
fn get_x_dimension(&self, ui: &Ui) -> Dimension
We attempt to retrieve the x Dimension for the widget via the following:
- Check for specified value at maybe_x_dimension
- Otherwise, use the default returned by Widget::default_x_dimension.
§fn get_y_dimension(&self, ui: &Ui) -> Dimension
 
fn get_y_dimension(&self, ui: &Ui) -> Dimension
We attempt to retrieve the y Dimension for the widget via the following:
- Check for specified value at maybe_y_dimension
- Otherwise, use the default returned by Widget::default_y_dimension.
§fn x_dimension(self, w: Dimension) -> W
 
fn x_dimension(self, w: Dimension) -> W
Set the length along the x axis.
§fn y_dimension(self, h: Dimension) -> W
 
fn y_dimension(self, h: Dimension) -> W
Set the length along the y axis.
§fn padded_w_of(self, idx: NodeIndex, pad: f64) -> Self
 
fn padded_w_of(self, idx: NodeIndex, pad: f64) -> Self
Set the width as the width of the widget at the given index padded at both ends by the
given Scalar.
§fn h_of(self, idx: NodeIndex) -> Self
 
fn h_of(self, idx: NodeIndex) -> Self
Set the height as the height of the widget at the given index.
§fn padded_h_of(self, idx: NodeIndex, pad: f64) -> Self
 
fn padded_h_of(self, idx: NodeIndex, pad: f64) -> Self
Set the height as the height of the widget at the given index padded at both ends by the
given Scalar.
§fn wh_of(self, idx: NodeIndex) -> Self
 
fn wh_of(self, idx: NodeIndex) -> Self
Set the dimensions as the dimensions of the widget at the given index.
§fn padded_wh_of(self, idx: NodeIndex, pad: f64) -> Self
 
fn padded_wh_of(self, idx: NodeIndex, pad: f64) -> Self
Set the dimensions as the dimensions of the widget at the given index with all four edges
padded by the given scalar.
§fn kid_area_w_of(self, idx: NodeIndex) -> Self
 
fn kid_area_w_of(self, idx: NodeIndex) -> Self
Set the width as the width of the padded area of the widget at the given index.
§fn padded_kid_area_w_of(self, idx: NodeIndex, pad: f64) -> Self
 
fn padded_kid_area_w_of(self, idx: NodeIndex, pad: f64) -> Self
Set the width as the 
KidArea width for the widget at the given index, padded at both ends
by the given scalar.§fn kid_area_h_of(self, idx: NodeIndex) -> Self
 
fn kid_area_h_of(self, idx: NodeIndex) -> Self
Set the height as the 
KidArea height of the widget at the given index.§fn padded_kid_area_h_of(self, idx: NodeIndex, pad: f64) -> Self
 
fn padded_kid_area_h_of(self, idx: NodeIndex, pad: f64) -> Self
Set the height as the 
KidArea height of the widget at the given index, padded at both
ends by the given scalar.§fn kid_area_wh_of(self, idx: NodeIndex) -> Self
 
fn kid_area_wh_of(self, idx: NodeIndex) -> Self
Set the dimensions as the 
KidArea dimensions of the widget at the given index.§fn padded_kid_area_wh_of(self, idx: NodeIndex, pad: f64) -> Self
 
fn padded_kid_area_wh_of(self, idx: NodeIndex, pad: f64) -> Self
Set the dimensions as the 
KidArea dimensions of the widget at the given index, padded at
all four edges by the given scalar.Source§impl<Context> SubContext<Context> for Context
 
impl<Context> SubContext<Context> for Context
fn sub_context(self) -> Context
§impl<T> Tap for T
 
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
 
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the 
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
 
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the 
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
 
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the 
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
 
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the 
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
 
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the 
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
 
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the 
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
 
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls 
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
 
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls 
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
 
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls 
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
 
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls 
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
 
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls 
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
 
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls 
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
 
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls 
.tap_deref() only in debug builds, and is erased in release
builds.§impl<T, U> ToSample<U> for Twhere
    U: FromSample<T>,
 
impl<T, U> ToSample<U> for Twhere
    U: FromSample<T>,
fn to_sample_(self) -> U
Source§impl<W> Tooltipable for Wwhere
    W: Widget,
 
impl<W> Tooltipable for Wwhere
    W: Widget,
fn with_tooltip<'a>( self, tooltip_manager: &'a mut TooltipManager, title_text: &'a str, desc_text: &'a str, tooltip: &'a Tooltip<'a>, title_col: Color, ) -> Tooltipped<'a, W>
§impl<T> TryConv for T
 
impl<T> TryConv for T
Source§impl<T> UnwrappedAs for T
 
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
    T: UnwrappedCast<Dst>,
 
fn unwrapped_as<Dst>(self) -> Dstwhere
    T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
    Src: UnwrappedCast<Dst>,
 
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
    Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
 
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
§impl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
    S: Into<Dispatch>,
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
    S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Source§impl<T> WrappingAs for T
 
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
    T: WrappingCast<Dst>,
 
fn wrapping_as<Dst>(self) -> Dstwhere
    T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
    Src: WrappingCast<Dst>,
 
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
    Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
 
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.