Struct ca_formats::rle::HeaderData
source · pub struct HeaderData {
pub x: u64,
pub y: u64,
pub rule: Option<String>,
}
Expand description
Data from the header line, e.g., x = 3, y = 3, rule = B3/S23
.
Fields§
§x: u64
Width of the pattern.
y: u64
Height of the pattern.
rule: Option<String>
Rulestring.
Trait Implementations§
source§impl Clone for HeaderData
impl Clone for HeaderData
source§fn clone(&self) -> HeaderData
fn clone(&self) -> HeaderData
Returns a copy of the value. Read more
1.0.0 · 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 HeaderData
impl Debug for HeaderData
source§impl Default for HeaderData
impl Default for HeaderData
source§fn default() -> HeaderData
fn default() -> HeaderData
Returns the “default value” for a type. Read more
source§impl Hash for HeaderData
impl Hash for HeaderData
source§impl PartialEq for HeaderData
impl PartialEq for HeaderData
source§fn eq(&self, other: &HeaderData) -> bool
fn eq(&self, other: &HeaderData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for HeaderData
impl StructuralEq for HeaderData
impl StructuralPartialEq for HeaderData
Auto Trait Implementations§
impl RefUnwindSafe for HeaderData
impl Send for HeaderData
impl Sync for HeaderData
impl Unpin for HeaderData
impl UnwindSafe for HeaderData
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