[−][src]Struct unsegen::base::window::WindowBuffer
An owned buffer representing a Window.
Implementations
impl WindowBuffer
[src]
pub fn new(width: Width, height: Height) -> Self
[src]
Create a new WindowBuffer with the specified width and height.
pub fn as_window<'a>(&'a mut self) -> Window<'a>
[src]
View the WindowBuffer as a Window. Use this method if you want to modify the contents of the buffer.
Trait Implementations
impl PartialEq<WindowBuffer> for WindowBuffer
[src]
fn eq(&self, other: &WindowBuffer) -> bool
[src]
fn ne(&self, other: &WindowBuffer) -> bool
[src]
impl StructuralPartialEq for WindowBuffer
[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowBuffer
impl Send for WindowBuffer
impl Sync for WindowBuffer
impl Unpin for WindowBuffer
impl UnwindSafe for WindowBuffer
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,
pub 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, 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.
pub 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>,