Struct livesplit_core::Image
[−]
[src]
pub struct Image { /* fields omitted */ }
Methods
impl Image
[src]
fn new(data: &[u8]) -> Self
[src]
fn from_file<P, B>(path: P, buf: B) -> Result<Image> where
P: AsRef<Path>,
B: AsMut<Vec<u8>>,
[src]
P: AsRef<Path>,
B: AsMut<Vec<u8>>,
fn id(&self) -> usize
[src]
fn url(&self) -> &str
[src]
fn check_for_change(&self, old_id: &mut usize) -> Option<&str>
[src]
fn modify(&mut self, data: &[u8])
[src]
fn is_empty(&self) -> bool
[src]
Trait Implementations
impl Debug for Image
[src]
impl Clone for Image
[src]
fn clone(&self) -> Image
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Image
[src]
fn eq(&self, other: &Image) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.