[−][src]Struct gui::BBox
A bounding box representing the area that a widget may occupy. A
bounding box always describes a rectangular area. The origin [x=0,
y=0] is typically assumed to reside in the upper left corner of the
screen, but it is really up to the individual Renderer
to make do
with whatever is provided.
Fields
x: u16
The x-coordinate of the bounding box.
y: u16
The y-coordinate of the bounding box.
w: u16
The width of the bounding box.
h: u16
The height of the bounding box.
Trait Implementations
impl Copy for BBox
[src]
impl PartialEq<BBox> for BBox
[src]
impl Default for BBox
[src]
impl Clone for BBox
[src]
fn clone(&self) -> BBox
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for BBox
[src]
impl Debug for BBox
[src]
impl Hash for BBox
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,