pub struct Cell {
    pub fragment: u32,
    pub index: u32,
    pub contents: String,
}
Expand description

A cell represent a notebook cell in VS Code

Terms

  • fragment: unique id of the cell that executed
  • index: current index by order in VS Code
  • contents: the source code from inside the cell used to determine what output to return to caller

Fields

fragment: u32index: u32contents: String

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.