pub fn promote_last_fragment(&mut self) {
		let last_fragment = self.fragments.pop().unwrap();
		let node;

		match last_fragment {
			Fragment::Simplex(simplex_boundary, attachers, _) => {
				node = X::new_simplex(simplex_boundary, attachers);
			},
			Fragment::Complex(complex_boundary, attachers, _) => {
				let last_scope = self.scopes.pop().unwrap();
				node = X::new_complex(complex_boundary, attachers, last_scope);
			}
		}

		self.push_to_preferred_relationship(node);
	}
/// Promotes the last fragment into a node in the last scope.
Promotes the last fragment into a node in the last scope.
Promotes the last fragment into a node in the last scope .
pub fn promote_last_fragment(&mut self) {
		let last_fragment = self.fragments.pop().unwrap();
		let node;
		match last_fragment {
			Fragment::Simplex(simplex_boundary, attachers, _) => {
				node = X::new_simplex(simplex_boundary, attachers);
			},
			Fragment::Complex(complex_boundary, attachers, _) => {
				let last_scope = self.scopes.pop().unwrap();
				node = X::new_complex(complex_boundary, attachers, last_scope);
			}
		}
		self.push_to_preferred_relationship(node);
	}
pub fn promote_last_fragment ( & mut self ) { let last_fragment = self . fragments . pop ( ) . unwrap ( ) ; let node ; match last_fragment { Fragment :: Simplex ( simplex_boundary , attachers , _ ) => { node = X :: new_simplex ( simplex_boundary , attachers ) ; } , Fragment :: Complex ( complex_boundary , attachers , _ ) => { let last_scope = self . scopes . pop ( ) . unwrap ( ) ; node = X :: new_complex ( complex_boundary , attachers , last_scope ) ; } } self . push_to_preferred_relationship ( node ) ; }
Promotes the last fragment into a node in the last scope.
Promotes the last fragment into a node in the last scope .
&mut self
&mut self