pub struct WordClassification {
pub quote: WordQuote,
pub literalness: WordLiteralness,
pub expansion_kind: WordExpansionKind,
pub substitution_shape: WordSubstitutionShape,
}Fields§
§quote: WordQuote§literalness: WordLiteralness§expansion_kind: WordExpansionKind§substitution_shape: WordSubstitutionShapeImplementations§
Source§impl WordClassification
impl WordClassification
pub fn is_fixed_literal(self) -> bool
pub fn is_expanded(self) -> bool
pub fn has_scalar_expansion(self) -> bool
pub fn has_array_expansion(self) -> bool
pub fn has_command_substitution(self) -> bool
pub fn has_plain_command_substitution(self) -> bool
Trait Implementations§
Source§impl Clone for WordClassification
impl Clone for WordClassification
Source§fn clone(&self) -> WordClassification
fn clone(&self) -> WordClassification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WordClassification
Source§impl Debug for WordClassification
impl Debug for WordClassification
impl Eq for WordClassification
Source§impl PartialEq for WordClassification
impl PartialEq for WordClassification
impl StructuralPartialEq for WordClassification
Auto Trait Implementations§
impl Freeze for WordClassification
impl RefUnwindSafe for WordClassification
impl Send for WordClassification
impl Sync for WordClassification
impl Unpin for WordClassification
impl UnsafeUnpin for WordClassification
impl UnwindSafe for WordClassification
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