TryIntoCaptureItemWithType

Trait TryIntoCaptureItemWithType 

Source
pub trait TryIntoCaptureItemWithType {
    // Required method
    fn try_into_capture_item(
        self,
    ) -> Result<(GraphicsCaptureItem, CaptureItemTypes), Error>;
}
Expand description

A trait for types that can be converted into a GraphicsCaptureItem.

Required Methods§

Source

fn try_into_capture_item( self, ) -> Result<(GraphicsCaptureItem, CaptureItemTypes), Error>

Attempts to convert the object into a GraphicsCaptureItem and its corresponding CaptureItemTypes variant.

Implementors§