Struct logisheets_controller::controller::edit_action::RowShift
source · [−]Fields
sheet_idx: usize
row: usize
count: usize
insert: bool
Trait Implementations
sourceimpl TS for RowShift
impl TS for RowShift
const EXPORT_TO: Option<&'static str> = Some("../../src/bindings/row_shift.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 RowShift
impl Send for RowShift
impl Sync for RowShift
impl Unpin for RowShift
impl UnwindSafe for RowShift
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.