Struct KeyCode

pub struct KeyCode { pub film_manufacturer_code: i32, pub film_type: i32, pub film_roll_prefix: i32, pub count: i32, pub perforation_offset: i32, pub perforations_per_frame: i32, pub perforations_per_count: i32 }

Uniquely identifies a motion picture film frame.

Fields

film_manufacturer_code: i32

Identifies a film manufacturer.

film_type: i32

Identifies a film type.

film_roll_prefix: i32

Specifies the film roll prefix.

count: i32

Specifies the film count.

perforation_offset: i32

Specifies the perforation offset.

perforations_per_frame: i32

Specifies the perforation count of each single frame.

perforations_per_count: i32

Specifies the perforation count of each single film.

Implementations

impl KeyCode

fn byte_size() -> usize

Number of bytes this would consume in an exr file.

fn write<W: Write>(&self, write: &mut W) -> UnitResult

Without validation, write this instance to the byte stream.

fn read<R: Read>(read: &mut R) -> Result<Self>

Read the value without validating.

Trait Implementations

impl Clone for KeyCode

fn clone(&self) -> Self

impl Copy for KeyCode

impl Debug for KeyCode

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for KeyCode

impl Hash for KeyCode

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for KeyCode

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for KeyCode

Auto Trait Implementations

impl Freeze for KeyCode

impl RefUnwindSafe for KeyCode

impl Send for KeyCode

impl Sync for KeyCode

impl Unpin for KeyCode

impl UnsafeUnpin for KeyCode

impl UnwindSafe for KeyCode

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for KeyCode where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for KeyCode where ST: ?Sized, DT: ?Sized,

impl<T> Any for KeyCode where T: 'static + ?Sized,

impl<T> Borrow<T> for KeyCode where T: ?Sized,

impl<T> BorrowMut<T> for KeyCode where T: ?Sized,

impl<T> CloneToUninit for KeyCode where T: Clone,

impl<T> From<T> for KeyCode

impl<T> Pointable for KeyCode

impl<T> Read<Exclusive, BecauseExclusive> for KeyCode where T: ?Sized,

impl<T> ToOwned for KeyCode where T: Clone,

impl<T, U> Into<U> for KeyCode where U: From<T>,

impl<T, U> TryFrom<U> for KeyCode where U: Into<T>,

impl<T, U> TryInto<U> for KeyCode where U: TryFrom<T>,