pub enum DrawBorderSettings {
Default,
WithBorder,
WithoutBorder,
}Expand description
Defines whether a border should be drawn around the captured item.
Variants§
Default
Use the system’s default behavior for the capture border.
WithBorder
Draw a border around the captured item.
WithoutBorder
Do not draw a border around the captured item.
Trait Implementations§
Source§impl Clone for DrawBorderSettings
impl Clone for DrawBorderSettings
Source§fn clone(&self) -> DrawBorderSettings
fn clone(&self) -> DrawBorderSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
Auto Trait Implementations§
impl Freeze for DrawBorderSettings
impl RefUnwindSafe for DrawBorderSettings
impl Send for DrawBorderSettings
impl Sync for DrawBorderSettings
impl Unpin for DrawBorderSettings
impl UnwindSafe for DrawBorderSettings
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
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>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more