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§
Sourcefn try_into_capture_item(
self,
) -> Result<(GraphicsCaptureItem, CaptureItemTypes), Error>
fn try_into_capture_item( self, ) -> Result<(GraphicsCaptureItem, CaptureItemTypes), Error>
Attempts to convert the object into a GraphicsCaptureItem and its corresponding CaptureItemTypes variant.