pub fn new(max_size: u16) -> Queue {
        Queue {
            max_size,
            size: 0,
            ready: false,
            desc_table: GuestAddress(0),
            avail_ring: GuestAddress(0),
            used_ring: GuestAddress(0),
            next_avail: Wrapping(0),
            next_used: Wrapping(0),
        }
    }
/// Constructs an empty virtio queue with the given `max_size`.
Constructs an empty virtio queue with the given `max_size`.
Constructs an empty virtio queue with the given ` max_size ` .
pub fn new(max_size: u16) -> Queue {
        Queue {
            max_size,
            size: 0,
            ready: false,
            desc_table: GuestAddress(0),
            avail_ring: GuestAddress(0),
            used_ring: GuestAddress(0),
            next_avail: Wrapping(0),
            next_used: Wrapping(0),
        }
    }
pub fn new ( max_size : u16 ) -> Queue { Queue { max_size , size : 0 , ready : false , desc_table : GuestAddress ( 0 ) , avail_ring : GuestAddress ( 0 ) , used_ring : GuestAddress ( 0 ) , next_avail : Wrapping ( 0 ) , next_used : Wrapping ( 0 ) , } }
Constructs an empty virtio queue with the given `max_size`.
Constructs an empty virtio queue with the given ` max_size ` .
max_size
u16