[][src]Struct creator_tools::types::QuickLook

pub struct QuickLook {
    pub needs_to_be_run_in_main_thread: Option<bool>,
    pub preview_height: Option<f32>,
    pub preview_width: Option<f32>,
    pub supports_concurrent_requests: Option<bool>,
    pub thumbnail_minimum_size: Option<f32>,
}

QuickLook.

Fields

needs_to_be_run_in_main_thread: Option<bool>

A Boolean value indicating whether a Quick Look app's generator can be run in threads other than the main thread.

preview_height: Option<f32>

A hint at the height, in points, of a Quick Look app's previews.

preview_width: Option<f32>

A hint at the width, in points, of a Quick Look app's previews.

supports_concurrent_requests: Option<bool>

A Boolean value indicating whether a Quick Look app's generator can handle concurrent thumbnail and preview requests.

thumbnail_minimum_size: Option<f32>

The minimum size, in points, along one dimension of thumbnails for a Quick Look app's generator.

Trait Implementations

impl Clone for QuickLook[src]

impl Debug for QuickLook[src]

impl Default for QuickLook[src]

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

impl PartialEq<QuickLook> for QuickLook[src]

impl Serialize for QuickLook[src]

impl StructuralPartialEq for QuickLook[src]

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, 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.