pub struct GlFramebufferSource { /* private fields */ }Implementations§
Source§impl GlFramebufferSource
impl GlFramebufferSource
pub fn size(&self) -> PhysicalSize<u32>
pub fn generation(&self) -> u64
pub fn producer_sync(&self) -> SyncMechanism
pub fn new( size: PhysicalSize<u32>, generation: u64, producer_sync: SyncMechanism, importer: Rc<dyn GlFramebufferSourceImpl>, ) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for GlFramebufferSource
impl !Send for GlFramebufferSource
impl !Sync for GlFramebufferSource
impl !UnwindSafe for GlFramebufferSource
impl Freeze for GlFramebufferSource
impl Unpin for GlFramebufferSource
impl UnsafeUnpin for GlFramebufferSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more