pub struct ServerGpuImportedObjectBase { /* private fields */ }Expand description
What the server part of every imported object holds: the context and the feature the object is imported with, and the outcome of the import.
Implementations§
Source§impl ServerGpuImportedObjectBase
impl ServerGpuImportedObjectBase
pub fn context(&self) -> &Rc<dyn IPlatformRenderInterfaceContext>
pub fn feature(&self) -> &Rc<dyn IExternalObjectsRenderInterfaceContextFeature>
Sourcepub fn import_result(&self) -> Option<Result<(), ServerJobError>>
pub fn import_result(&self) -> Option<Result<(), ServerJobError>>
The outcome of the import, None until the import job has run.
Auto Trait Implementations§
impl !Freeze for ServerGpuImportedObjectBase
impl !RefUnwindSafe for ServerGpuImportedObjectBase
impl !Send for ServerGpuImportedObjectBase
impl !Sync for ServerGpuImportedObjectBase
impl !UnwindSafe for ServerGpuImportedObjectBase
impl Unpin for ServerGpuImportedObjectBase
impl UnsafeUnpin for ServerGpuImportedObjectBase
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