Struct mupdf::colorspace::Colorspace
source · pub struct Colorspace { /* private fields */ }
Implementations§
source§impl Colorspace
impl Colorspace
pub fn device_gray() -> Self
pub fn device_rgb() -> Self
pub fn device_bgr() -> Self
pub fn device_cmyk() -> Self
pub fn n(&self) -> u32
pub fn is_gray(&self) -> bool
pub fn is_rgb(&self) -> bool
pub fn is_cmyk(&self) -> bool
pub fn is_device(&self) -> bool
pub fn is_device_gray(&self) -> bool
pub fn is_device_cmyk(&self) -> bool
pub fn is_indexed(&self) -> bool
pub fn is_lab(&self) -> bool
pub fn is_lab_icc(&self) -> bool
pub fn is_subtractive(&self) -> bool
pub fn name(&self) -> &str
Trait Implementations§
source§impl Debug for Colorspace
impl Debug for Colorspace
source§impl Display for Colorspace
impl Display for Colorspace
Auto Trait Implementations§
impl Freeze for Colorspace
impl RefUnwindSafe for Colorspace
impl !Send for Colorspace
impl !Sync for Colorspace
impl Unpin for Colorspace
impl UnwindSafe for Colorspace
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