[][src]Enum spectrusty_core::video::BorderSize

#[repr(u8)]pub enum BorderSize {
    Full,
    Large,
    Medium,
    Small,
    Tiny,
    Minimal,
    Nil,
}

This enum is used to select border size when rendering video frames.

Variants

Full
Large
Medium
Small
Tiny
Minimal
Nil

Trait Implementations

impl Clone for BorderSize[src]

impl Copy for BorderSize[src]

impl Debug for BorderSize[src]

impl<'de> Deserialize<'de> for BorderSize[src]

impl Display for BorderSize[src]

impl Eq for BorderSize[src]

impl FromStr for BorderSize[src]

type Err = ParseBorderSizeError

The associated error which can be returned from parsing.

pub fn from_str(name: &str) -> Result<Self, Self::Err>[src]

Parses a single word describing border size using case insensitive matching or a single digit from 0 to 6.

impl Hash for BorderSize[src]

impl PartialEq<BorderSize> for BorderSize[src]

impl Serialize for BorderSize[src]

impl StructuralEq for BorderSize[src]

impl StructuralPartialEq for BorderSize[src]

impl TryFrom<u8> for BorderSize[src]

type Error = TryFromUIntBorderSizeError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.