Struct paxcii::settings::PaxciiSettings
source · pub struct PaxciiSettings {
pub fps: u64,
pub color: bool,
pub char_set: Vec<char>,
pub width: u32,
pub height: u32,
pub preserve_aspect_ratio: bool,
}
Expand description
Settings used when converting image or video to ascii.
Fields§
§fps: u64
§color: bool
§char_set: Vec<char>
§width: u32
§height: u32
§preserve_aspect_ratio: bool
Trait Implementations§
source§impl Clone for PaxciiSettings
impl Clone for PaxciiSettings
source§fn clone(&self) -> PaxciiSettings
fn clone(&self) -> PaxciiSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaxciiSettings
impl Debug for PaxciiSettings
source§impl Default for PaxciiSettings
impl Default for PaxciiSettings
source§fn default() -> PaxciiSettings
fn default() -> PaxciiSettings
Returns the “default value” for a type. Read more
source§impl PartialEq<PaxciiSettings> for PaxciiSettings
impl PartialEq<PaxciiSettings> for PaxciiSettings
source§fn eq(&self, other: &PaxciiSettings) -> bool
fn eq(&self, other: &PaxciiSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PaxciiSettings
Auto Trait Implementations§
impl RefUnwindSafe for PaxciiSettings
impl Send for PaxciiSettings
impl Sync for PaxciiSettings
impl Unpin for PaxciiSettings
impl UnwindSafe for PaxciiSettings
Blanket Implementations§
§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere T: FromSample<F>,
fn into_sample(self) -> T
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.