Struct logisheets_controller::controller::display::CellFormulaValue
source · [−]pub struct CellFormulaValue {
pub row: usize,
pub col: usize,
pub formula: String,
pub value: Value,
}Fields
row: usizecol: usizeformula: Stringvalue: ValueTrait Implementations
sourceimpl Clone for CellFormulaValue
impl Clone for CellFormulaValue
sourcefn clone(&self) -> CellFormulaValue
fn clone(&self) -> CellFormulaValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CellFormulaValue
impl Debug for CellFormulaValue
sourceimpl Serialize for CellFormulaValue
impl Serialize for CellFormulaValue
sourceimpl TS for CellFormulaValue
impl TS for CellFormulaValue
const EXPORT_TO: Option<&'static str> = Some("../../src/bindings/cell_formula_value.ts")
sourcefn decl() -> String
fn decl() -> String
Declaration of this type, e.g. interface User { user_id: number, ... }.
This function will panic if the type has no declaration. Read more
sourcefn inline() -> String
fn inline() -> String
Formats this types definition in TypeScript, e.g { user_id: number }.
This function will panic if the type cannot be inlined. Read more
sourcefn inline_flattened() -> String
fn inline_flattened() -> String
Flatten an type declaration.
This function will panic if the type cannot be flattened. Read more
sourcefn dependencies() -> Vec<Dependency>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn dependencies() -> Vec<Dependency>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Information about types this type depends on. This is used for resolving imports when exporting to a file. Read more
sourcefn transparent() -> bool
fn transparent() -> bool
true if this is a transparent type, e.g tuples or a list.
This is used for resolving imports when using the export! macro. Read more
sourcefn name_with_type_args(args: Vec<String, Global>) -> String
fn name_with_type_args(args: Vec<String, Global>) -> String
Name of this type in TypeScript, with type arguments.
sourcefn export() -> Result<(), ExportError>
fn export() -> Result<(), ExportError>
Manually export this type to a file.
The output file can be specified by annotating the type with #[ts(export_to = ".."].
By default, the filename will be derived from the types name. Read more
sourcefn export_to(path: impl AsRef<Path>) -> Result<(), ExportError>
fn export_to(path: impl AsRef<Path>) -> Result<(), ExportError>
Manually export this type to a file with a file with the specified path. This
function will ignore the #[ts(export_to = "..)] attribute. Read more
sourcefn export_to_string() -> Result<String, ExportError>
fn export_to_string() -> Result<String, ExportError>
Auto Trait Implementations
impl RefUnwindSafe for CellFormulaValue
impl Send for CellFormulaValue
impl Sync for CellFormulaValue
impl Unpin for CellFormulaValue
impl UnwindSafe for CellFormulaValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self is actually part of its subset T (and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self to the equivalent element of its superset.