Struct rorschach::Definition
[−]
[src]
pub struct Definition { /* fields omitted */ }
A packet definition.
Methods
impl Definition
[src]
fn fields(&self) -> &[Field]
The fields in the definition.
fn field<T: Into<Field>>(self, field: T) -> Self
Add a field.
Trait Implementations
impl Clone for Definition
[src]
fn clone(&self) -> Definition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Definition
[src]
fn eq(&self, __arg_0: &Definition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Definition) -> bool
This method tests for !=
.
impl Default for Definition
[src]
fn default() -> Definition
Returns the "default value" for a type. Read more