MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / set_kind

Method set_kind

atomic-core/src/crdt/leaf.rs:230–232  ·  view source on GitHub ↗

Sets the token kind.

(&mut self, kind: TokenKind)

Source from the content-addressed store, hash-verified

228
229 /// Sets the token kind.
230 pub fn set_kind(&mut self, kind: TokenKind) {
231 self.kind = kind;
232 }
233
234 /// Sets the content range.
235 pub fn set_content_range(&mut self, range: Range<u32>) {

Calls

no outgoing calls

Tested by 2

test_leaf_set_kindFunction · 0.36
assemble_attribute_writeFunction · 0.36