pub struct KindData {
pub kind: Kind,
pub caption: bool,
pub body: bool,
}Fields§
§kind: Kind§caption: bool§body: boolImplementations§
Source§impl KindData
impl KindData
pub fn new(kind: Kind) -> KindData
pub fn caption(self) -> KindData
pub fn body(self) -> KindData
pub fn caption_or_body(self) -> KindData
pub fn is_list(&self) -> bool
pub fn is_or_type(&self) -> bool
pub fn is_optional(&self) -> bool
pub fn into_optional(self) -> Self
pub fn is_string(&self) -> bool
pub fn is_module(&self) -> bool
pub fn is_integer(&self) -> bool
pub fn is_record(&self) -> bool
pub fn is_boolean(&self) -> bool
pub fn is_subsection_ui(&self) -> bool
pub fn is_ui(&self) -> bool
pub fn is_decimal(&self) -> bool
pub fn is_void(&self) -> bool
pub fn is_kwargs(&self) -> bool
pub fn optional(self) -> KindData
pub fn list(self) -> KindData
pub fn constant(self) -> KindData
pub fn inner_list(self) -> KindData
pub fn inner(self) -> KindData
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KindData
impl<'de> Deserialize<'de> for KindData
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
impl StructuralPartialEq for KindData
Auto Trait Implementations§
impl Freeze for KindData
impl RefUnwindSafe for KindData
impl Send for KindData
impl Sync for KindData
impl Unpin for KindData
impl UnwindSafe for KindData
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