[−][src]Struct makepad_render::MetalWindow
Fields
window_id: usize
first_draw: bool
window_geom: WindowGeom
cal_size: Vec2
ca_layer: *mut Object
cocoa_window: CocoaWindow
Methods
impl MetalWindow
[src]
pub fn new(
window_id: usize,
metal_cx: &MetalCx,
cocoa_app: &mut CocoaApp,
inner_size: Vec2,
position: Option<Vec2>,
title: &str
) -> MetalWindow
[src]
window_id: usize,
metal_cx: &MetalCx,
cocoa_app: &mut CocoaApp,
inner_size: Vec2,
position: Option<Vec2>,
title: &str
) -> MetalWindow
pub fn set_vsync_enable(&mut self, enable: bool)
[src]
pub fn set_buffer_count(&mut self, _count: u64)
[src]
pub fn resize_core_animation_layer(&mut self, _metal_cx: &MetalCx) -> bool
[src]
Trait Implementations
impl Clone for MetalWindow
[src]
fn clone(&self) -> MetalWindow
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for MetalWindow
impl !Send for MetalWindow
impl !Sync for MetalWindow
impl Unpin for MetalWindow
impl !UnwindSafe for MetalWindow
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>,