pub enum SceneBuilderResult {
    Transactions(Vec<Box<BuiltTransaction>>, Option<Sender<SceneSwapResult>>),
    ExternalEvent(ExternalEvent),
    FlushComplete(Sender<()>),
    DeleteDocument(DocumentId),
    ClearNamespace(IdNamespace),
    GetGlyphDimensions(GlyphDimensionRequest),
    GetGlyphIndices(GlyphIndexRequest),
    SetParameter(Parameter),
    StopRenderBackend,
    ShutDown(Option<Sender<()>>),
    CapturedTransactions(Vec<Box<BuiltTransaction>>, CaptureConfig, Option<Sender<SceneSwapResult>>),
    StopCaptureSequence,
}Variants§
Transactions(Vec<Box<BuiltTransaction>>, Option<Sender<SceneSwapResult>>)
ExternalEvent(ExternalEvent)
FlushComplete(Sender<()>)
DeleteDocument(DocumentId)
ClearNamespace(IdNamespace)
GetGlyphDimensions(GlyphDimensionRequest)
GetGlyphIndices(GlyphIndexRequest)
SetParameter(Parameter)
StopRenderBackend
ShutDown(Option<Sender<()>>)
CapturedTransactions(Vec<Box<BuiltTransaction>>, CaptureConfig, Option<Sender<SceneSwapResult>>)
The same as Transactions, but also supplies a CaptureConfig that the
render backend should use for sequence capture, until the next
CapturedTransactions or StopCaptureSequence result.
StopCaptureSequence
The scene builder has stopped sequence capture, so the render backend should do the same.
Auto Trait Implementations§
impl Freeze for SceneBuilderResult
impl !RefUnwindSafe for SceneBuilderResult
impl Send for SceneBuilderResult
impl !Sync for SceneBuilderResult
impl Unpin for SceneBuilderResult
impl !UnwindSafe for SceneBuilderResult
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