pub struct PickedGraphicsCaptureItem {
pub item: GraphicsCaptureItem,
/* private fields */
}展开描述
成功选择的图形捕获项目及其关联的窗口守卫。
字段§
§item: GraphicsCaptureItem新选择的 GraphicsCaptureItem(窗口或监视器)。
实现§
trait 实现§
自动 trait 实现§
impl Freeze for PickedGraphicsCaptureItem
impl RefUnwindSafe for PickedGraphicsCaptureItem
impl !Send for PickedGraphicsCaptureItem
impl !Sync for PickedGraphicsCaptureItem
impl Unpin for PickedGraphicsCaptureItem
impl UnsafeUnpin for PickedGraphicsCaptureItem
impl UnwindSafe for PickedGraphicsCaptureItem
Blanket 实现§
源码§impl<T> IntoEither for T
impl<T> IntoEither for T
源码§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
当
into_left 为 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。 了解更多源码§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
当
into_left(&self) 返回 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。 了解更多