Enum tfm::pl::ast::ExtensibleCharacter
source · pub enum ExtensibleCharacter {
Top(SingleValue<Char>),
Middle(SingleValue<Char>),
Bottom(SingleValue<Char>),
Replicated(SingleValue<Char>),
Comment(String),
}
Expand description
An element of a VARCHAR
property list.
The documentation on each variant is based on the documentation in PFtoTF.2014.12.
Variants§
Top(SingleValue<Char>)
The top piece of an extensible character, or 0 if the top piece is absent.
Middle(SingleValue<Char>)
The middle piece of an extensible character, or 0 if the top piece is absent.
Bottom(SingleValue<Char>)
The bottom piece of an extensible character, or 0 if the top piece is absent.
Replicated(SingleValue<Char>)
The replicated piece of an extensible character, or 0 if it is absent.
Comment(String)
A comment that is ignored.
Implementations§
source§impl ExtensibleCharacter
impl ExtensibleCharacter
pub fn lower(self, char_display_format: CharDisplayFormat) -> Node
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExtensibleCharacter
impl<'arbitrary> Arbitrary<'arbitrary> for ExtensibleCharacter
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Debug for ExtensibleCharacter
impl Debug for ExtensibleCharacter
source§impl PartialEq<ExtensibleCharacter> for ExtensibleCharacter
impl PartialEq<ExtensibleCharacter> for ExtensibleCharacter
source§fn eq(&self, other: &ExtensibleCharacter) -> bool
fn eq(&self, other: &ExtensibleCharacter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExtensibleCharacter
impl StructuralEq for ExtensibleCharacter
impl StructuralPartialEq for ExtensibleCharacter
Auto Trait Implementations§
impl RefUnwindSafe for ExtensibleCharacter
impl Send for ExtensibleCharacter
impl Sync for ExtensibleCharacter
impl Unpin for ExtensibleCharacter
impl UnwindSafe for ExtensibleCharacter
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