pub struct ColorMapInfo {
pub name: String,
pub is_builtin: bool,
pub filepath: Option<PathBuf>,
}Expand description
Information about an available colormap
Fields§
§name: String§is_builtin: bool§filepath: Option<PathBuf>Trait Implementations§
Source§impl Clone for ColorMapInfo
impl Clone for ColorMapInfo
Source§fn clone(&self) -> ColorMapInfo
fn clone(&self) -> ColorMapInfo
Returns a duplicate 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 ColorMapInfo
impl Debug for ColorMapInfo
Source§impl<'de> Deserialize<'de> for ColorMapInfo
impl<'de> Deserialize<'de> for ColorMapInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ColorMapInfo
impl RefUnwindSafe for ColorMapInfo
impl Send for ColorMapInfo
impl Sync for ColorMapInfo
impl Unpin for ColorMapInfo
impl UnsafeUnpin for ColorMapInfo
impl UnwindSafe for ColorMapInfo
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