[−][src]Struct wand::container::Container
Fields
left: f64
right: f64
top: f64
bottom: f64
Methods
impl Container
[src]
pub fn new(
padding_x: f32,
padding_y: f32,
padding_min_x: f32,
padding_max_x: f32,
padding_min_y: f32,
padding_max_y: f32,
scroll: Scrollable
) -> Self
[src]
padding_x: f32,
padding_y: f32,
padding_min_x: f32,
padding_max_x: f32,
padding_min_y: f32,
padding_max_y: f32,
scroll: Scrollable
) -> Self
pub fn on_resize(&mut self, x: f64, y: f64, w: f64, h: f64)
[src]
pub fn draw(&self, ctx: &CanvasRenderingContext2d)
[src]
Deprecated
pub fn render_tick(&self, ctx: &CanvasRenderingContext2d)
[src]
pub fn tick(&mut self)
[src]
pub fn register(&mut self, item: Content)
[src]
pub fn dispatch_event(&mut self, ev: &mut Event)
[src]
Trait Implementations
impl DrawOutline for Container
[src]
fn draw_outline(&self, ctx: &CanvasRenderingContext2d)
[src]
Auto Trait Implementations
impl !Send for Container
impl !Sync for Container
impl Unpin for Container
impl !UnwindSafe for Container
impl !RefUnwindSafe for Container
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, 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<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,