pub enum DrawBorderSettings {
Default,
WithBorder,
WithoutBorder,
}展开描述
定义是否应在捕获的项目周围绘制边框。
变体§
trait 实现§
Source§impl Clone for DrawBorderSettings
impl Clone for DrawBorderSettings
Source§fn clone(&self) -> DrawBorderSettings
fn clone(&self) -> DrawBorderSettings
返回该值的副本。 了解更多
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行复制赋值。 了解更多Source§impl Debug for DrawBorderSettings
impl Debug for DrawBorderSettings
Source§impl PartialEq for DrawBorderSettings
impl PartialEq for DrawBorderSettings
impl Copy for DrawBorderSettings
impl Eq for DrawBorderSettings
impl StructuralPartialEq for DrawBorderSettings
自动 trait 实现§
impl Freeze for DrawBorderSettings
impl RefUnwindSafe for DrawBorderSettings
impl Send for DrawBorderSettings
impl Sync for DrawBorderSettings
impl Unpin for DrawBorderSettings
impl UnsafeUnpin for DrawBorderSettings
impl UnwindSafe for DrawBorderSettings
Blanket 实现§
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
从拥有的值可变地借用。 了解更多
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
当
into_left 为 true 时,将 self 转换为
Left 变体的
Either<Self, Self>;
否则将其转换为
Right 变体的
Either<Self, Self>。
了解更多Source§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>。
了解更多