pub fn new<N>(name: N, description: Option<String>) -> Self
    where
        N: Into<String>,
    {
        Self {
            name: name.into(),
            description,
        }
    }
/// Creates a FASTA record definition.
///
/// # Examples
///
/// ```
/// use noodles_fasta::record::Definition;
/// let definition = Definition::new("sq0", None);
/// ```
Creates a FASTA record definition.
Creates a FASTA record definition .
pub fn new<N>(name: N, description: Option<String>) -> Self
    where
        N: Into<String>,
    {
        Self {
            name: name.into(),
            description,
        }
    }
pub fn new < N > ( name : N , description : Option < String > ) -> Self where N : Into < String > , { Self { name : name . into ( ) , description , } }
Creates a FASTA record definition.
Creates a FASTA record definition .
name
N
description
Option<String>
name
N
description
Option<String>
examples
```
use noodles_fasta::record::Definition;
let definition = Definition::new("sq0", None);
```
` ` ` use noodles_fasta :: record :: Definition ; let definition = Definition :: new ( " sq0 " None ) ; ` ` `