pub struct HwndGuard(/* private fields */);展开描述
RAII 守卫,在 drop 时销毁隐藏的选择器窗口,并排空任何 与该窗口关联的待处理消息。
trait 实现§
自动 trait 实现§
impl Freeze for HwndGuard
impl RefUnwindSafe for HwndGuard
impl !Send for HwndGuard
impl !Sync for HwndGuard
impl Unpin for HwndGuard
impl UnsafeUnpin for HwndGuard
impl UnwindSafe for HwndGuard
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>。 了解更多