[−][src]Struct gift::block::LogicalScreenDesc
The logical screen descriptor contains properties which apply to all frames in the file.
Methods
impl LogicalScreenDesc
[src]
pub fn with_screen_width(self, screen_width: u16) -> Self
[src]
Set the screen width
pub fn screen_width(&self) -> u16
[src]
Get the screen width
pub fn with_screen_height(self, screen_height: u16) -> Self
[src]
Set the screen height
pub fn screen_height(&self) -> u16
[src]
Get the screen height
pub fn with_flags(self, flags: u8) -> Self
[src]
Set the flags which control the global color table configuration
pub fn flags(&self) -> u8
[src]
Get the flags which control the global color table configuration
pub fn color_resolution(&self) -> u16
[src]
Get the color resolution (obsolete GIF feature)
pub fn color_table_config(&self) -> ColorTableConfig
[src]
Get the global color table configuration
pub fn with_color_table_config(self, tbl: &ColorTableConfig) -> Self
[src]
Set the global color table configuration
pub fn with_background_color_idx(self, background_color_idx: u8) -> Self
[src]
Set the background color index
pub fn background_color_idx(&self) -> u8
[src]
Get the background color index
pub fn with_pixel_aspect_ratio(self, pixel_aspect_ratio: u8) -> Self
[src]
Set the pixel aspect ratio (obsolete GIF feature)
pub fn pixel_aspect_ratio(&self) -> u8
[src]
Get the pixel aspect ratio (obsolete GIF feature)
Trait Implementations
impl From<LogicalScreenDesc> for Block
[src]
fn from(b: LogicalScreenDesc) -> Self
[src]
impl PartialEq<LogicalScreenDesc> for LogicalScreenDesc
[src]
fn eq(&self, other: &LogicalScreenDesc) -> bool
[src]
fn ne(&self, other: &LogicalScreenDesc) -> bool
[src]
impl Clone for LogicalScreenDesc
[src]
fn clone(&self) -> LogicalScreenDesc
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for LogicalScreenDesc
[src]
fn default() -> LogicalScreenDesc
[src]
impl Debug for LogicalScreenDesc
[src]
Auto Trait Implementations
impl Send for LogicalScreenDesc
impl Sync for LogicalScreenDesc
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,