pub struct Atlas {
pub entries: Vec<Entry>,
pub image: Option<DynamicImage>,
/* private fields */
}
Fields§
§entries: Vec<Entry>
§image: Option<DynamicImage>
Implementations§
Source§impl Atlas
impl Atlas
pub fn add_entry(&mut self, entry: Entry)
pub fn blit_entries(&mut self)
pub fn hello()
pub fn all_for_template(input: &str) -> Vec<Atlas>
pub fn info(input: &str) -> Result<u32, OmError>
pub fn combine( output: &str, size: u32, border: u32, input: &Vec<&str>, ) -> Result<u32, OmError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Atlas
impl RefUnwindSafe for Atlas
impl Send for Atlas
impl Sync for Atlas
impl Unpin for Atlas
impl UnwindSafe for Atlas
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more