[−][src]Struct spaik::sexpr_parse::Fragment
Implementations
impl Fragment
[src]
A fragment is a part of a operator/token lookup tree. To get a feel for how
it works, use the print_dot method on standard_lisp_tok_tree()
with either
&mut io::stdout()
or a file handle, then run the following command on your
generated file:
dot -Tsvg print_dot_output.dot > tree.svg
Then open that svg file in your favorite browser (or Emacs) to see the structure.
pub fn root() -> Fragment
[src]
pub fn insert(&mut self, text: &str)
[src]
pub fn is_valid(&self) -> bool
[src]
pub fn print_dot(&self, stream: &mut dyn Write) -> Result<()>
[src]
Trait Implementations
impl Eq for Fragment
[src]
impl Hash for Fragment
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Fragment> for Fragment
[src]
impl StructuralEq for Fragment
[src]
impl StructuralPartialEq for Fragment
[src]
Auto Trait Implementations
impl RefUnwindSafe for Fragment
[src]
impl Send for Fragment
[src]
impl Sync for Fragment
[src]
impl Unpin for Fragment
[src]
impl UnwindSafe for Fragment
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,