pub struct ServerImportedGpuImage { /* private fields */ }Expand description
The server part of an imported GPU image.
Implementations§
Source§impl ServerImportedGpuImage
impl ServerImportedGpuImage
Sourcepub fn image(&self) -> Rc<dyn IPlatformRenderInterfaceImportedImage>
pub fn image(&self) -> Rc<dyn IPlatformRenderInterfaceImportedImage>
The imported image. Panics once the image has been disposed
(ObjectDisposedException).
pub fn context(&self) -> &Rc<dyn IPlatformRenderInterfaceContext>
pub fn is_usable(&self, server: &ServerCompositor) -> bool
Trait Implementations§
Source§impl IServerGpuImportedObject for ServerImportedGpuImage
impl IServerGpuImportedObject for ServerImportedGpuImage
fn base(&self) -> &ServerGpuImportedObjectBase
Source§fn import(&self, server: &ServerCompositor) -> Result<(), ServerJobError>
fn import(&self, server: &ServerCompositor) -> Result<(), ServerJobError>
Imports the object (
Import).Auto Trait Implementations§
impl !Freeze for ServerImportedGpuImage
impl !RefUnwindSafe for ServerImportedGpuImage
impl !Send for ServerImportedGpuImage
impl !Sync for ServerImportedGpuImage
impl !UnwindSafe for ServerImportedGpuImage
impl Unpin for ServerImportedGpuImage
impl UnsafeUnpin for ServerImportedGpuImage
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more