/// Create a new `Header` using the given `HeaderView` as the template.
///
/// After construction, you can modify the header independently from the template `header`.
///
/// # Arguments
///
/// - `header` - The `HeaderView` to use as the template.
Create a new `Header` using the given `HeaderView` as the template.
After construction, you can modify the header independently from the template `header`.
Create a new ` Header ` using the given ` HeaderView ` as the template . After construction you can modify the header independently from the template ` header ` .
pub fn from_template(header: &HeaderView) -> Self {
        Header {
            inner: unsafe { htslib::bcf_hdr_dup(header.inner) },
            subset: None,
        }
    }
pub fn from_template ( header : & HeaderView ) -> Self { Header { inner : unsafe { htslib :: bcf_hdr_dup ( header . inner ) } , subset : None , } }
Create a new `Header` using the given `HeaderView` as the template.
Create a new ` Header ` using the given ` HeaderView ` as the template .
header
&HeaderView
The `HeaderView` to use as the template.
The ` HeaderView ` to use as the template .