Enum exr::meta::attribute::BlockType [−][src]
pub enum BlockType { ScanLine, Tile, DeepScanLine, DeepTile, }
Expand description
layer type, specifies block type and deepness.
Variants
Corresponds to the string value scanlineimage
.
Corresponds to the string value tiledimage
.
Corresponds to the string value deepscanline
.
Corresponds to the string value deeptile
.
Implementations
impl BlockType
[src]
impl BlockType
[src]pub fn parse(text: Text) -> Result<Self>
[src]
pub fn parse(text: Text) -> Result<Self>
[src]Return a BlockType
object from the specified attribute text value.
pub fn write(&self, write: &mut impl Write) -> UnitResult
[src]
pub fn write(&self, write: &mut impl Write) -> UnitResult
[src]Without validation, write this instance to the byte stream.
pub fn to_text_bytes(&self) -> &[u8]ⓘ
[src]
pub fn to_text_bytes(&self) -> &[u8]ⓘ
[src]Returns the raw attribute text value this type is represented by in a file.
Trait Implementations
impl Copy for BlockType
[src]
impl Eq for BlockType
[src]
impl StructuralEq for BlockType
[src]
impl StructuralPartialEq for BlockType
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more