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: u64Width of the pattern.
y: u64Height 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 duplicate 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
impl Eq for HeaderData
impl StructuralPartialEq for HeaderData
Auto Trait Implementations§
impl Freeze for HeaderData
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