pub fn new(capacity: usize) -> Cmdline {
        assert_ne!(capacity, 0);
        Cmdline {
            line: String::with_capacity(capacity),
            capacity,
        }
    }
/// Constructs an empty [`Cmdline`] with the given capacity, including the nul terminator.
///
/// # Arguments
///
/// * `capacity` - Command line capacity. Must be greater than 0.
///
/// # Examples
///
/// ```rust
/// # use linux_loader::cmdline::*;
/// let cl = Cmdline::new(100);
/// ```
/// [`Cmdline`]: struct.Cmdline.html
Constructs an empty [`Cmdline`] with the given capacity, including the nul terminator.
Constructs an empty [ ` Cmdline ` ] with the given capacity including the nul terminator .
pub fn new(capacity: usize) -> Cmdline {
        assert_ne!(capacity, 0);
        Cmdline {
            line: String::with_capacity(capacity),
            capacity,
        }
    }
pub fn new ( capacity : usize ) -> Cmdline { assert_ne ! ( capacity 0 ) ; Cmdline { line : String :: with_capacity ( capacity ) , capacity , } }
Constructs an empty [`Cmdline`] with the given capacity, including the nul terminator.
Constructs an empty [ ` Cmdline ` ] with the given capacity including the nul terminator .
capacity
usize
capacity
usize
examples
None
use linux_loader::cmdline::*;
None