[−]Struct lcms2::NamedColorList
Palette of colors with names
Methods
impl NamedColorList
[src]
pub fn new(
spot_colors: usize,
colorant_count: usize,
prefix: &str,
suffix: &str
) -> LCMSResult<Self>
[src]
spot_colors: usize,
colorant_count: usize,
prefix: &str,
suffix: &str
) -> LCMSResult<Self>
Trait Implementations
impl Drop for NamedColorList
fn drop(&mut self)
impl AsMut<NamedColorListRef> for NamedColorList
fn as_mut(&mut self) -> &mut NamedColorListRef
impl AsRef<NamedColorListRef> for NamedColorList
fn as_ref(&self) -> &NamedColorListRef
impl DerefMut for NamedColorList
fn deref_mut(&mut self) -> &mut NamedColorListRef
impl Deref for NamedColorList
type Target = NamedColorListRef
The resulting type after dereferencing.
fn deref(&self) -> &NamedColorListRef
impl Borrow<NamedColorListRef> for NamedColorList
fn borrow(&self) -> &NamedColorListRef
impl BorrowMut<NamedColorListRef> for NamedColorList
fn borrow_mut(&mut self) -> &mut NamedColorListRef
impl ForeignType for NamedColorList
type CType = NAMEDCOLORLIST
The raw C type.
type Ref = NamedColorListRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut NAMEDCOLORLIST) -> NamedColorList
fn as_ptr(&self) -> *mut NAMEDCOLORLIST
Auto Trait Implementations
impl !Send for NamedColorList
impl !Sync for NamedColorList
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,