user.lang.rust.rust.py

Modules

Actions

user.code_comment_documentation_block()

Inserts a block document comment and positions the cursor appropriately

user.code_comment_documentation_block_inner()

Inserts an inner block document comment and positions the cursor appropriately

user.code_comment_documentation_inner()

Inserts an inner document comment and positions the cursor appropriately

user.code_insert_if_let_error()

Inserts if let error block, positioning the cursor appropriately

user.code_insert_if_let_some()

Inserts if let some block, positioning the cursor appropriately

user.code_insert_macro(text: str, selection: str)

Inserts a macro and positions the cursor appropriately

user.code_insert_macro_array(text: str, selection: str)

Inserts a macro array and positions the cursor appropriately

user.code_insert_macro_block(text: str, selection: str)

Inserts a macro block and positions the cursor appropriately

user.code_insert_return_trait(type: str)

Inserts a return type for implementor of trait

user.code_insert_trait_annotation(type: str)

Inserts type annotation for implementor of trait

user.code_state_implements()

Inserts implements block, positioning the cursor appropriately

user.code_state_unsafe()

Inserts an unsafe block and positions the cursor appropriately

Lists

user.code_type_modifier

List of type modifiers for active language

user.code_macros

List of macros for active language

user.code_trait

List of traits for active language