[−][src]Struct gift::block::LogicalScreenDesc
The logical screen descriptor contains properties which apply to all frames in the file.
Implementations
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 equal_size(self, rhs: Self) -> bool
[src]
Check if screen sizes are equal
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 Clone for LogicalScreenDesc
[src]
fn clone(&self) -> LogicalScreenDesc
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LogicalScreenDesc
[src]
impl Debug for LogicalScreenDesc
[src]
impl Default for LogicalScreenDesc
[src]
fn default() -> LogicalScreenDesc
[src]
impl Eq for LogicalScreenDesc
[src]
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 StructuralEq for LogicalScreenDesc
[src]
impl StructuralPartialEq for LogicalScreenDesc
[src]
Auto Trait Implementations
impl RefUnwindSafe for LogicalScreenDesc
impl Send for LogicalScreenDesc
impl Sync for LogicalScreenDesc
impl Unpin for LogicalScreenDesc
impl UnwindSafe for LogicalScreenDesc
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,