summaryrefslogtreecommitdiffstats
path: root/third_party/rust/gfx-backend-empty/src/buffer.rs
blob: 217bc83274da36aaf0762371ddea71a7c2246b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug)]
pub struct Buffer {
    /// Size of this buffer
    pub(crate) size: u64,
}

impl Buffer {
    pub fn new(size: u64) -> Self {
        Buffer { size }
    }
}