[−][src]Struct asciify::AsciiBuilder
Implementations
impl AsciiBuilder
[src]
pub fn new_from_path(path: PathBuf) -> Self
[src]
pub fn new(path: PathBuf) -> Self
[src]
👎 Deprecated since 0.1.5:
please use new_from_path
instead
pub fn new_from_image(image: DynamicImage) -> Self
[src]
pub fn set_deep(self, deep: bool) -> Self
[src]
pub fn set_invert(self, invert: bool) -> Self
[src]
pub fn set_resize(self, resize: (u32, u32)) -> Self
[src]
pub fn build(&self) -> String
[src]
pub fn to_std_out(&self, use_color: bool)
[src]
Writes the image to standard output
the image is formatted with ANSI colors if use_color
is true
pub fn to_stream_colored(&self, stream: &mut dyn WriteColor)
[src]
Writes a colored version of the image to stream
using ANSI code
pub fn to_stream(&self, stream: &mut dyn Write)
[src]
Writes the image to stream
Auto Trait Implementations
impl RefUnwindSafe for AsciiBuilder
impl Send for AsciiBuilder
impl Sync for AsciiBuilder
impl Unpin for AsciiBuilder
impl UnwindSafe for AsciiBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,