Struct livesplit_core::Image
[−]
[src]
pub struct Image { /* fields omitted */ }
Methods
impl Image
[src]
fn new(data: &[u8]) -> Self
fn from_file<P, B>(path: P, buf: B) -> Result<Image> where
P: AsRef<Path>,
B: AsMut<Vec<u8>>,
P: AsRef<Path>,
B: AsMut<Vec<u8>>,
fn id(&self) -> usize
fn url(&self) -> &str
fn check_for_change(&self, old_id: &mut usize) -> Option<&str>
fn modify(&mut self, data: &[u8])
Trait Implementations
impl Debug for Image
[src]
impl Clone for Image
[src]
fn clone(&self) -> Image
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
impl Default for Image
[src]
impl<D: AsRef<[u8]>> From<D> for Image
[src]
fn from(d: D) -> Self
Performs the conversion.