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

Method with_parent_position

atomic-core/src/record/context.rs:662–668  ·  view source on GitHub ↗

Set the parent position. # Arguments `position` - The parent's graph position

(
        mut self,
        position: crate::types::Position<Option<crate::types::NodeId>>,
    )

Source from the content-addressed store, hash-verified

660 ///
661 /// * `position` - The parent's graph position
662 pub fn with_parent_position(
663 mut self,
664 position: crate::types::Position<Option<crate::types::NodeId>>,
665 ) -> Self {
666 self.parent_position = Some(position);
667 self
668 }
669}
670
671impl Default for RecordItem {

Callers 1

Calls

no outgoing calls

Tested by 1