Struct hapi_rs::pdg::PDGWorkItem
source · pub struct PDGWorkItem<'session> {
pub info: PDGWorkItemInfo,
pub id: i32,
pub context_id: i32,
pub node: &'session HoudiniNode,
}
Expand description
Represents a single work item.
Fields
info: PDGWorkItemInfo
id: i32
context_id: i32
node: &'session HoudiniNode
Implementations
sourceimpl<'session> PDGWorkItem<'session>
impl<'session> PDGWorkItem<'session>
sourcepub fn get_results(&self) -> Result<Option<Vec<PDGWorkItemResult<'session>>>>
pub fn get_results(&self) -> Result<Option<Vec<PDGWorkItemResult<'session>>>>
Retrieve the results of work, if the work item has any.
Trait Implementations
Auto Trait Implementations
impl<'session> !RefUnwindSafe for PDGWorkItem<'session>
impl<'session> Send for PDGWorkItem<'session>
impl<'session> Sync for PDGWorkItem<'session>
impl<'session> Unpin for PDGWorkItem<'session>
impl<'session> !UnwindSafe for PDGWorkItem<'session>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more