pub fn new<T>(size: T) -> Self
    where
        u64: From<T>,
    {
        Constraint {
            size: u64::from(size),
            min: 0,
            max: std::u64::MAX,
            align: 1,
            policy: AllocPolicy::Default,
        }
    }
/// Create a new constraint object with default settings.
Create a new constraint object with default settings.
Create a new constraint object with default settings .
pub fn new<T>(size: T) -> Self
    where
        u64: From<T>,
    {
        Constraint {
            size: u64::from(size),
            min: 0,
            max: std::u64::MAX,
            align: 1,
            policy: AllocPolicy::Default,
        }
    }
pub fn new < T > ( size : T ) -> Self where u64 : From < T > , { Constraint { size : u64 :: from ( size ) , min : 0 , max : std :: u64 :: MAX , align : 1 , policy : AllocPolicy :: Default , } }
Create a new constraint object with default settings.
Create a new constraint object with default settings .
size
T