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>,
}Expand description
Quick Look
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.
§Availability
- iOS 4.0+
- macOS 10.5+
§Framework
- QuickLook
preview_height: Option<f32>A hint at the height, in points, of a Quick Look app’s previews.
§Availability
- iOS 4.0+
- macOS 10.5+
§Framework
- QuickLook
preview_width: Option<f32>A hint at the width, in points, of a Quick Look app’s previews.
§Availability
- iOS 4.0+
- macOS 10.5+
§Framework
- QuickLook
supports_concurrent_requests: Option<bool>A Boolean value indicating whether a Quick Look app’s generator can handle concurrent thumbnail and preview requests.
§Availability
- iOS 4.0+
- macOS 10.5+
§Framework
- QuickLook
thumbnail_minimum_size: Option<f32>The minimum size, in points, along one dimension of thumbnails for a Quick Look app’s generator.
§Availability
- iOS 4.0+
- macOS 10.5+
§Framework
- QuickLook
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuickLook
impl<'de> Deserialize<'de> for QuickLook
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for QuickLook
Auto Trait Implementations§
impl Freeze for QuickLook
impl RefUnwindSafe for QuickLook
impl Send for QuickLook
impl Sync for QuickLook
impl Unpin for QuickLook
impl UnwindSafe for QuickLook
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