pub struct RGBALayoutComponent {
pub code: String,
pub component_size: u32,
}Expand description
RGBA component entry within J2CLayout or PixelLayout
Fields§
§code: StringAbsent in intentionally malformed corpus files (e.g. RGBAError1). Default to empty string so the parser succeeds; the validator flags missing codes.
component_size: u32Trait Implementations§
Source§impl Clone for RGBALayoutComponent
impl Clone for RGBALayoutComponent
Source§fn clone(&self) -> RGBALayoutComponent
fn clone(&self) -> RGBALayoutComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RGBALayoutComponent
impl Debug for RGBALayoutComponent
Source§impl<'de> Deserialize<'de> for RGBALayoutComponent
impl<'de> Deserialize<'de> for RGBALayoutComponent
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
Source§impl PartialEq for RGBALayoutComponent
impl PartialEq for RGBALayoutComponent
Source§fn eq(&self, other: &RGBALayoutComponent) -> bool
fn eq(&self, other: &RGBALayoutComponent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RGBALayoutComponent
impl Serialize for RGBALayoutComponent
impl StructuralPartialEq for RGBALayoutComponent
Auto Trait Implementations§
impl Freeze for RGBALayoutComponent
impl RefUnwindSafe for RGBALayoutComponent
impl Send for RGBALayoutComponent
impl Sync for RGBALayoutComponent
impl Unpin for RGBALayoutComponent
impl UnsafeUnpin for RGBALayoutComponent
impl UnwindSafe for RGBALayoutComponent
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