Struct libracerd::engine::Buffer [] [src]

pub struct Buffer {
    pub file_path: String,
    pub contents: String,
}

Fields

file_path
contents

Methods

impl Buffer

fn path<'a>(&'a self) -> &'a Path

Trait Implementations

Derived Implementations

impl Clone for Buffer

fn clone(&self) -> Buffer

fn clone_from(&mut self, source: &Self)

impl Decodable for Buffer

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Buffer, __D::Error>

impl Debug for Buffer

fn fmt(&self, __arg_0: &mut Formatter) -> Result