Struct clang::Unsaved [] [src]

pub struct Unsaved {
    // some fields omitted
}

The path to and unsaved contents of a previously existing file.

Methods

impl Unsaved
[src]

fn new<P: AsRef<Path>, C: AsRef<str>>(path: P, contents: C) -> Unsaved

Constructs a new Unsaved.

Trait Implementations

impl Hash for Unsaved
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq for Unsaved
[src]

impl PartialEq for Unsaved
[src]

fn eq(&self, __arg_0: &Unsaved) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Unsaved) -> bool

This method tests for !=.

impl Debug for Unsaved
[src]

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

Formats the value using the given formatter.

impl Clone for Unsaved
[src]

fn clone(&self) -> Unsaved

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more