Trait gradle_sync::ConfigurationFormat [−][src]
pub trait ConfigurationFormat where
Self: Sized, { fn from<R: Read>(reader: R) -> Result<Self, Error>; fn current_version(&self) -> Result<&GradleVersion, Error>; fn is_modified(&self) -> bool; fn sync_version(&mut self, new_version: &Version) -> Result<(), Error>; fn lines(&self) -> Vec<String>; fn write<W: Write>(&self, writer: &mut W) -> Result<(), Error> { ... } }
Required Methods
fn from<R: Read>(reader: R) -> Result<Self, Error>
fn current_version(&self) -> Result<&GradleVersion, Error>
fn is_modified(&self) -> bool
fn sync_version(&mut self, new_version: &Version) -> Result<(), Error>
fn lines(&self) -> Vec<String>
Provided Methods
Implementors
impl ConfigurationFormat for BuildGradleContent
impl ConfigurationFormat for PropertiesContent