pub enum CELLObject {
Block(Block),
KeywordValue(KeywordValue),
SingleKeyword(SingleKeyword),
}Variants§
Implementations§
Source§impl CELLObject
impl CELLObject
pub fn order(&self) -> usize
pub fn as_block(&self) -> Option<&Block>
pub fn as_keyword_value(&self) -> Option<&KeywordValue>
pub fn as_single_keyword(&self) -> Option<&SingleKeyword>
Trait Implementations§
Source§impl Clone for CELLObject
impl Clone for CELLObject
Source§fn clone(&self) -> CELLObject
fn clone(&self) -> CELLObject
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 CELLObject
impl Debug for CELLObject
Source§impl Display for CELLObject
impl Display for CELLObject
Source§impl PartialEq for CELLObject
impl PartialEq for CELLObject
Source§impl PartialOrd for CELLObject
impl PartialOrd for CELLObject
impl StructuralPartialEq for CELLObject
Auto Trait Implementations§
impl Freeze for CELLObject
impl RefUnwindSafe for CELLObject
impl Send for CELLObject
impl Sync for CELLObject
impl Unpin for CELLObject
impl UnwindSafe for CELLObject
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