pub struct Framebuffer { /* private fields */ }
Implementations
sourceimpl Framebuffer
impl Framebuffer
sourcepub fn set_window_size(&self, width: i32, height: i32)
pub fn set_window_size(&self, width: i32, height: i32)
set_window_size: @window: A #Stage @width: A width, in pixels @height: A height, in pixels
Sets the size of the window, taking into account any window border. This corresponds to the window’s available area for its child, minus the area occupied by the window’s toolbar, if it’s enabled.
Trait Implementations
sourceimpl AsRef<Framebuffer> for Framebuffer
impl AsRef<Framebuffer> for Framebuffer
sourcefn as_ref(&self) -> &Framebuffer
fn as_ref(&self) -> &Framebuffer
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<FramebufferType> for Framebuffer
impl AsRef<FramebufferType> for Framebuffer
sourcefn as_ref(&self) -> &FramebufferType
fn as_ref(&self) -> &FramebufferType
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Debug for Framebuffer
impl Debug for Framebuffer
sourceimpl Default for Framebuffer
impl Default for Framebuffer
sourcefn default() -> Framebuffer
fn default() -> Framebuffer
Returns the “default value” for a type. Read more
sourceimpl Display for Framebuffer
impl Display for Framebuffer
impl Is<Framebuffer> for Framebuffer
impl Object for Framebuffer
Auto Trait Implementations
impl !RefUnwindSafe for Framebuffer
impl !Send for Framebuffer
impl !Sync for Framebuffer
impl Unpin for Framebuffer
impl !UnwindSafe for Framebuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.