Struct clang::Unsaved [−][src]
pub struct Unsaved { /* fields omitted */ }
The path to and unsaved contents of a previously existing file.
Methods
impl Unsaved
[src]
impl Unsaved
pub fn new<P: AsRef<Path>, C: AsRef<str>>(path: P, contents: C) -> Unsaved
[src]
pub fn new<P: AsRef<Path>, C: AsRef<str>>(path: P, contents: C) -> Unsaved
Constructs a new Unsaved
.
Trait Implementations
impl Clone for Unsaved
[src]
impl Clone for Unsaved
fn clone(&self) -> Unsaved
[src]
fn clone(&self) -> Unsaved
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Unsaved
[src]
impl Debug for Unsaved
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Unsaved
[src]
impl PartialEq for Unsaved
fn eq(&self, other: &Unsaved) -> bool
[src]
fn eq(&self, other: &Unsaved) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Unsaved) -> bool
[src]
fn ne(&self, other: &Unsaved) -> bool
This method tests for !=
.
impl Eq for Unsaved
[src]
impl Eq for Unsaved
impl Hash for Unsaved
[src]
impl Hash for Unsaved