Struct lcms2::NamedColorList
[−]
pub struct NamedColorList(_);
Owned version of NamedColorListRef
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 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
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut NAMEDCOLORLIST
Returns a raw pointer to the wrapped value.
impl Drop for NamedColorList
impl Deref for NamedColorList
type Target = NamedColorListRef
The resulting type after dereferencing.
fn deref(&self) -> &NamedColorListRef
Dereferences the value.
impl DerefMut for NamedColorList
fn deref_mut(&mut self) -> &mut NamedColorListRef
Mutably dereferences the value.
impl Borrow<NamedColorListRef> for NamedColorList
fn borrow(&self) -> &NamedColorListRef
Immutably borrows from an owned value. Read more
impl AsRef<NamedColorListRef> for NamedColorList
fn as_ref(&self) -> &NamedColorListRef
Performs the conversion.