Struct kconfig_represent::DescriptorInfo
source · [−]pub struct DescriptorInfo { /* private fields */ }Expand description
Descriptor information contains the “help” text of a menu item descriptor (where applicable).
Implementations
sourceimpl DescriptorInfo
impl DescriptorInfo
sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Returns wether the given descriptor is empty, and perhaps not relevant
sourcepub fn descriptor(&self) -> MenuItemDescriptor
pub fn descriptor(&self) -> MenuItemDescriptor
Returns the descriptor belonging to the descriptor information
Trait Implementations
sourceimpl Clone for DescriptorInfo
impl Clone for DescriptorInfo
sourcefn clone(&self) -> DescriptorInfo
fn clone(&self) -> DescriptorInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DescriptorInfo
impl Debug for DescriptorInfo
sourceimpl Default for DescriptorInfo
impl Default for DescriptorInfo
sourcefn default() -> DescriptorInfo
fn default() -> DescriptorInfo
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DescriptorInfo> for DescriptorInfo
impl PartialEq<DescriptorInfo> for DescriptorInfo
sourcefn eq(&self, other: &DescriptorInfo) -> bool
fn eq(&self, other: &DescriptorInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DescriptorInfo) -> bool
fn ne(&self, other: &DescriptorInfo) -> bool
This method tests for !=.
impl Eq for DescriptorInfo
impl StructuralEq for DescriptorInfo
impl StructuralPartialEq for DescriptorInfo
Auto Trait Implementations
impl RefUnwindSafe for DescriptorInfo
impl Send for DescriptorInfo
impl Sync for DescriptorInfo
impl Unpin for DescriptorInfo
impl UnwindSafe for DescriptorInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more