[−][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 Clone for BBox
[src]
impl Copy for BBox
[src]
impl Debug for BBox
[src]
impl Default for BBox
[src]
impl Eq for BBox
[src]
impl Hash for BBox
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<BBox> for BBox
[src]
impl StructuralEq for BBox
[src]
impl StructuralPartialEq for BBox
[src]
Auto Trait Implementations
impl RefUnwindSafe for BBox
impl Send for BBox
impl Sync for BBox
impl Unpin for BBox
impl UnwindSafe for BBox
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,