[−][src]Struct ytesrev::empty::Empty
An object that contains nothing and doesn't display anything.
This is not very useful on it's own, but when used together with a WithSize
-wrapper, it
can act as a breaker in a Stack
.
Trait Implementations
impl Drawable for Empty
[src]
fn content(&self) -> Vec<&dyn Drawable>
[src]
fn content_mut(&mut self) -> Vec<&mut dyn Drawable>
[src]
fn step(&mut self)
[src]
fn state(&self) -> State
[src]
fn draw(
&self,
_canvas: &mut Canvas<Window>,
_position: &Position,
_settings: DrawSettings
)
[src]
&self,
_canvas: &mut Canvas<Window>,
_position: &Position,
_settings: DrawSettings
)
fn register(&mut self)
[src]
Register all content. This is mostly just used by [LatexObj
]s, that need to be registered before loaded. Read more
fn load(&mut self)
[src]
Load all content
fn event(&mut self, e: Event)
[src]
When any event occurs
fn update(&mut self, dt: f64)
[src]
Tick the object
Auto Trait Implementations
impl Send for Empty
impl Unpin for Empty
impl Sync for Empty
impl UnwindSafe for Empty
impl RefUnwindSafe for Empty
Blanket Implementations
impl<T> Layerable for T where
T: Drawable,
[src]
T: Drawable,
fn as_drawable(&Self) -> &dyn Drawable
[src]
fn as_drawable_mut(&mut Self) -> &mut dyn Drawable
[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, 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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>,