pub struct GraphTraversal<S, E: FromGValue, T: Terminator<E>> { /* private fields */ }Implementations§
Source§impl<S, E: FromGValue, T: Terminator<E>> GraphTraversal<S, E, T>
impl<S, E: FromGValue, T: Terminator<E>> GraphTraversal<S, E, T>
pub fn new(terminator: T, builder: TraversalBuilder) -> GraphTraversal<S, E, T>
pub fn change_remote( self, client: GremlinClient, ) -> GraphTraversal<S, E, SyncTerminator>
pub fn does_write(&self) -> bool
pub fn bytecode(&self) -> &Bytecode
Sourcepub fn has_label<L>(self, labels: L) -> Self
pub fn has_label<L>(self, labels: L) -> Self
Examples found in repository?
examples/traversal.rs (line 10)
3fn main() -> Result<(), Box<dyn std::error::Error>> {
4 let client = GremlinClient::connect("localhost")?;
5
6 let g = traversal().with_remote(client);
7
8 let vertices = g
9 .v(())
10 .has_label("person")
11 .has(("name", "marko"))
12 .to_list()?;
13
14 println!("{:?}", vertices);
15
16 let friends = g
17 .v(())
18 .has_label("person")
19 .has(("name", "marko"))
20 .out("knows")
21 .to_list()?;
22
23 println!("{:?}", friends);
24
25 Ok(())
26}More examples
examples/traversal_complex.rs (line 16)
7fn main() -> Result<(), Box<dyn std::error::Error>> {
8 let client = GremlinClient::connect("localhost")?;
9
10 let g = traversal().with_remote(client);
11
12 create_graph(&g)?;
13
14 let result = g
15 .v(())
16 .has_label("complex_vertex")
17 .has(("name", "test1"))
18 .out("complex_label")
19 .out("complex_label")
20 .value_map(())
21 .next()?
22 .expect("no vertices found");
23
24 println!(
25 "Found vertex with name {:?}",
26 result["name"].get::<List>().unwrap()[0]
27 );
28
29 let results = g
30 .v(())
31 .has_label("complex_vertex")
32 .has(("number", P::gt(3)))
33 .to_list()?;
34
35 println!(
36 "Found {} vertices with number greater than 3",
37 results.len()
38 );
39
40 let results = g
41 .v(())
42 .has_label("complex_vertex")
43 .has(("number", P::within((3, 6))))
44 .to_list()?;
45
46 println!("Found {} vertices with number 3 or 6", results.len());
47
48 let results = g
49 .v(())
50 .has_label("complex_vertex")
51 .where_(__.out("complex_label").count().is(P::gte(1)))
52 .to_list()?;
53
54 println!(
55 "Found {} vertices with 1 or more connected edges with label complex_label",
56 results.len()
57 );
58
59 Ok(())
60}
61
62fn create_graph(
63 g: &GraphTraversalSource<SyncTerminator>,
64) -> Result<(), Box<dyn std::error::Error>> {
65 g.v(()).has_label("complex_vertex").drop().next()?;
66 g.e(()).has_label("complex_label").drop().next()?;
67
68 let mut current_next: Option<Vertex> = None;
69 (0..10).for_each(|e| {
70 let next = g
71 .add_v("complex_vertex")
72 .property("name", format!("test{}", e))
73 .property("number", e)
74 .next()
75 .expect("failed to create vertex");
76
77 current_next.iter().zip(next.iter()).for_each(|(a, b)| {
78 g.add_e("complex_label")
79 .from(a)
80 .to(b)
81 .next()
82 .expect("failed to create edge");
83 });
84
85 current_next = next;
86 });
87
88 Ok(())
89}pub fn add_v<A>(self, label: A) -> GraphTraversal<Vertex, Vertex, T>
Sourcepub fn property<A>(self, key: &str, value: A) -> Self
pub fn property<A>(self, key: &str, value: A) -> Self
Examples found in repository?
examples/traversal_complex.rs (line 72)
62fn create_graph(
63 g: &GraphTraversalSource<SyncTerminator>,
64) -> Result<(), Box<dyn std::error::Error>> {
65 g.v(()).has_label("complex_vertex").drop().next()?;
66 g.e(()).has_label("complex_label").drop().next()?;
67
68 let mut current_next: Option<Vertex> = None;
69 (0..10).for_each(|e| {
70 let next = g
71 .add_v("complex_vertex")
72 .property("name", format!("test{}", e))
73 .property("number", e)
74 .next()
75 .expect("failed to create vertex");
76
77 current_next.iter().zip(next.iter()).for_each(|(a, b)| {
78 g.add_e("complex_label")
79 .from(a)
80 .to(b)
81 .next()
82 .expect("failed to create edge");
83 });
84
85 current_next = next;
86 });
87
88 Ok(())
89}pub fn property_with_cardinality<A>( self, cardinality: Cardinality, key: &str, value: A, ) -> Self
pub fn property_many<A>(self, values: Vec<(String, A)>) -> Self
pub fn property_many_with_cardinality<A>( self, values: Vec<(Cardinality, String, A)>, ) -> Self
Sourcepub fn has<A>(self, step: A) -> Self
pub fn has<A>(self, step: A) -> Self
Examples found in repository?
examples/traversal.rs (line 11)
3fn main() -> Result<(), Box<dyn std::error::Error>> {
4 let client = GremlinClient::connect("localhost")?;
5
6 let g = traversal().with_remote(client);
7
8 let vertices = g
9 .v(())
10 .has_label("person")
11 .has(("name", "marko"))
12 .to_list()?;
13
14 println!("{:?}", vertices);
15
16 let friends = g
17 .v(())
18 .has_label("person")
19 .has(("name", "marko"))
20 .out("knows")
21 .to_list()?;
22
23 println!("{:?}", friends);
24
25 Ok(())
26}More examples
examples/traversal_complex.rs (line 17)
7fn main() -> Result<(), Box<dyn std::error::Error>> {
8 let client = GremlinClient::connect("localhost")?;
9
10 let g = traversal().with_remote(client);
11
12 create_graph(&g)?;
13
14 let result = g
15 .v(())
16 .has_label("complex_vertex")
17 .has(("name", "test1"))
18 .out("complex_label")
19 .out("complex_label")
20 .value_map(())
21 .next()?
22 .expect("no vertices found");
23
24 println!(
25 "Found vertex with name {:?}",
26 result["name"].get::<List>().unwrap()[0]
27 );
28
29 let results = g
30 .v(())
31 .has_label("complex_vertex")
32 .has(("number", P::gt(3)))
33 .to_list()?;
34
35 println!(
36 "Found {} vertices with number greater than 3",
37 results.len()
38 );
39
40 let results = g
41 .v(())
42 .has_label("complex_vertex")
43 .has(("number", P::within((3, 6))))
44 .to_list()?;
45
46 println!("Found {} vertices with number 3 or 6", results.len());
47
48 let results = g
49 .v(())
50 .has_label("complex_vertex")
51 .where_(__.out("complex_label").count().is(P::gte(1)))
52 .to_list()?;
53
54 println!(
55 "Found {} vertices with 1 or more connected edges with label complex_label",
56 results.len()
57 );
58
59 Ok(())
60}pub fn has_many<A>(self, steps: Vec<A>) -> Self
pub fn has_not<A>(self, key: A) -> Self
pub fn as_<A>(self, alias: A) -> Self
pub fn with_side_effect<A>(self, step: (&'static str, A)) -> Self
pub fn add_e<A>(self, label: A) -> GraphTraversal<S, Edge, T>
Sourcepub fn out<A>(self, labels: A) -> GraphTraversal<S, Vertex, T>
pub fn out<A>(self, labels: A) -> GraphTraversal<S, Vertex, T>
Examples found in repository?
examples/traversal.rs (line 20)
3fn main() -> Result<(), Box<dyn std::error::Error>> {
4 let client = GremlinClient::connect("localhost")?;
5
6 let g = traversal().with_remote(client);
7
8 let vertices = g
9 .v(())
10 .has_label("person")
11 .has(("name", "marko"))
12 .to_list()?;
13
14 println!("{:?}", vertices);
15
16 let friends = g
17 .v(())
18 .has_label("person")
19 .has(("name", "marko"))
20 .out("knows")
21 .to_list()?;
22
23 println!("{:?}", friends);
24
25 Ok(())
26}More examples
examples/traversal_complex.rs (line 18)
7fn main() -> Result<(), Box<dyn std::error::Error>> {
8 let client = GremlinClient::connect("localhost")?;
9
10 let g = traversal().with_remote(client);
11
12 create_graph(&g)?;
13
14 let result = g
15 .v(())
16 .has_label("complex_vertex")
17 .has(("name", "test1"))
18 .out("complex_label")
19 .out("complex_label")
20 .value_map(())
21 .next()?
22 .expect("no vertices found");
23
24 println!(
25 "Found vertex with name {:?}",
26 result["name"].get::<List>().unwrap()[0]
27 );
28
29 let results = g
30 .v(())
31 .has_label("complex_vertex")
32 .has(("number", P::gt(3)))
33 .to_list()?;
34
35 println!(
36 "Found {} vertices with number greater than 3",
37 results.len()
38 );
39
40 let results = g
41 .v(())
42 .has_label("complex_vertex")
43 .has(("number", P::within((3, 6))))
44 .to_list()?;
45
46 println!("Found {} vertices with number 3 or 6", results.len());
47
48 let results = g
49 .v(())
50 .has_label("complex_vertex")
51 .where_(__.out("complex_label").count().is(P::gte(1)))
52 .to_list()?;
53
54 println!(
55 "Found {} vertices with 1 or more connected edges with label complex_label",
56 results.len()
57 );
58
59 Ok(())
60}pub fn out_e<A>(self, labels: A) -> GraphTraversal<S, Edge, T>
pub fn out_v(self) -> GraphTraversal<S, Vertex, T>where
T: Terminator<Vertex>,
pub fn in_<A>(self, labels: A) -> GraphTraversal<S, Vertex, T>
pub fn in_e<A>(self, labels: A) -> GraphTraversal<S, Edge, T>
pub fn in_v(self) -> GraphTraversal<S, Vertex, T>where
T: Terminator<Vertex>,
pub fn both<A>(self, labels: A) -> GraphTraversal<S, Vertex, T>
pub fn both_e<A>(self, labels: A) -> GraphTraversal<S, Edge, T>
pub fn other(self) -> GraphTraversal<S, Vertex, T>where
T: Terminator<Vertex>,
pub fn other_v(self) -> GraphTraversal<S, Vertex, T>where
T: Terminator<Vertex>,
pub fn label(self) -> GraphTraversal<S, String, T>where
T: Terminator<String>,
Sourcepub fn to_list(&self) -> T::List
pub fn to_list(&self) -> T::List
Examples found in repository?
examples/traversal.rs (line 12)
3fn main() -> Result<(), Box<dyn std::error::Error>> {
4 let client = GremlinClient::connect("localhost")?;
5
6 let g = traversal().with_remote(client);
7
8 let vertices = g
9 .v(())
10 .has_label("person")
11 .has(("name", "marko"))
12 .to_list()?;
13
14 println!("{:?}", vertices);
15
16 let friends = g
17 .v(())
18 .has_label("person")
19 .has(("name", "marko"))
20 .out("knows")
21 .to_list()?;
22
23 println!("{:?}", friends);
24
25 Ok(())
26}More examples
examples/traversal_complex.rs (line 33)
7fn main() -> Result<(), Box<dyn std::error::Error>> {
8 let client = GremlinClient::connect("localhost")?;
9
10 let g = traversal().with_remote(client);
11
12 create_graph(&g)?;
13
14 let result = g
15 .v(())
16 .has_label("complex_vertex")
17 .has(("name", "test1"))
18 .out("complex_label")
19 .out("complex_label")
20 .value_map(())
21 .next()?
22 .expect("no vertices found");
23
24 println!(
25 "Found vertex with name {:?}",
26 result["name"].get::<List>().unwrap()[0]
27 );
28
29 let results = g
30 .v(())
31 .has_label("complex_vertex")
32 .has(("number", P::gt(3)))
33 .to_list()?;
34
35 println!(
36 "Found {} vertices with number greater than 3",
37 results.len()
38 );
39
40 let results = g
41 .v(())
42 .has_label("complex_vertex")
43 .has(("number", P::within((3, 6))))
44 .to_list()?;
45
46 println!("Found {} vertices with number 3 or 6", results.len());
47
48 let results = g
49 .v(())
50 .has_label("complex_vertex")
51 .where_(__.out("complex_label").count().is(P::gte(1)))
52 .to_list()?;
53
54 println!(
55 "Found {} vertices with 1 or more connected edges with label complex_label",
56 results.len()
57 );
58
59 Ok(())
60}Sourcepub fn next(&self) -> T::Next
pub fn next(&self) -> T::Next
Examples found in repository?
examples/traversal_complex.rs (line 21)
7fn main() -> Result<(), Box<dyn std::error::Error>> {
8 let client = GremlinClient::connect("localhost")?;
9
10 let g = traversal().with_remote(client);
11
12 create_graph(&g)?;
13
14 let result = g
15 .v(())
16 .has_label("complex_vertex")
17 .has(("name", "test1"))
18 .out("complex_label")
19 .out("complex_label")
20 .value_map(())
21 .next()?
22 .expect("no vertices found");
23
24 println!(
25 "Found vertex with name {:?}",
26 result["name"].get::<List>().unwrap()[0]
27 );
28
29 let results = g
30 .v(())
31 .has_label("complex_vertex")
32 .has(("number", P::gt(3)))
33 .to_list()?;
34
35 println!(
36 "Found {} vertices with number greater than 3",
37 results.len()
38 );
39
40 let results = g
41 .v(())
42 .has_label("complex_vertex")
43 .has(("number", P::within((3, 6))))
44 .to_list()?;
45
46 println!("Found {} vertices with number 3 or 6", results.len());
47
48 let results = g
49 .v(())
50 .has_label("complex_vertex")
51 .where_(__.out("complex_label").count().is(P::gte(1)))
52 .to_list()?;
53
54 println!(
55 "Found {} vertices with 1 or more connected edges with label complex_label",
56 results.len()
57 );
58
59 Ok(())
60}
61
62fn create_graph(
63 g: &GraphTraversalSource<SyncTerminator>,
64) -> Result<(), Box<dyn std::error::Error>> {
65 g.v(()).has_label("complex_vertex").drop().next()?;
66 g.e(()).has_label("complex_label").drop().next()?;
67
68 let mut current_next: Option<Vertex> = None;
69 (0..10).for_each(|e| {
70 let next = g
71 .add_v("complex_vertex")
72 .property("name", format!("test{}", e))
73 .property("number", e)
74 .next()
75 .expect("failed to create vertex");
76
77 current_next.iter().zip(next.iter()).for_each(|(a, b)| {
78 g.add_e("complex_label")
79 .from(a)
80 .to(b)
81 .next()
82 .expect("failed to create edge");
83 });
84
85 current_next = next;
86 });
87
88 Ok(())
89}pub fn has_next(&self) -> T::HasNext
pub fn iter(&self) -> T::Iter
Sourcepub fn from<A>(self, target: A) -> Self
pub fn from<A>(self, target: A) -> Self
Examples found in repository?
examples/traversal_complex.rs (line 79)
62fn create_graph(
63 g: &GraphTraversalSource<SyncTerminator>,
64) -> Result<(), Box<dyn std::error::Error>> {
65 g.v(()).has_label("complex_vertex").drop().next()?;
66 g.e(()).has_label("complex_label").drop().next()?;
67
68 let mut current_next: Option<Vertex> = None;
69 (0..10).for_each(|e| {
70 let next = g
71 .add_v("complex_vertex")
72 .property("name", format!("test{}", e))
73 .property("number", e)
74 .next()
75 .expect("failed to create vertex");
76
77 current_next.iter().zip(next.iter()).for_each(|(a, b)| {
78 g.add_e("complex_label")
79 .from(a)
80 .to(b)
81 .next()
82 .expect("failed to create edge");
83 });
84
85 current_next = next;
86 });
87
88 Ok(())
89}Sourcepub fn to<A>(self, target: A) -> Self
pub fn to<A>(self, target: A) -> Self
Examples found in repository?
examples/traversal_complex.rs (line 80)
62fn create_graph(
63 g: &GraphTraversalSource<SyncTerminator>,
64) -> Result<(), Box<dyn std::error::Error>> {
65 g.v(()).has_label("complex_vertex").drop().next()?;
66 g.e(()).has_label("complex_label").drop().next()?;
67
68 let mut current_next: Option<Vertex> = None;
69 (0..10).for_each(|e| {
70 let next = g
71 .add_v("complex_vertex")
72 .property("name", format!("test{}", e))
73 .property("number", e)
74 .next()
75 .expect("failed to create vertex");
76
77 current_next.iter().zip(next.iter()).for_each(|(a, b)| {
78 g.add_e("complex_label")
79 .from(a)
80 .to(b)
81 .next()
82 .expect("failed to create edge");
83 });
84
85 current_next = next;
86 });
87
88 Ok(())
89}pub fn properties<L>(self, labels: L) -> GraphTraversal<S, GProperty, T>
pub fn property_map<L>(self, labels: L) -> GraphTraversal<S, Map, T>
pub fn values<L>(self, labels: L) -> GraphTraversal<S, GValue, T>
Sourcepub fn value_map<L>(self, labels: L) -> GraphTraversal<S, Map, T>
pub fn value_map<L>(self, labels: L) -> GraphTraversal<S, Map, T>
Examples found in repository?
examples/traversal_complex.rs (line 20)
7fn main() -> Result<(), Box<dyn std::error::Error>> {
8 let client = GremlinClient::connect("localhost")?;
9
10 let g = traversal().with_remote(client);
11
12 create_graph(&g)?;
13
14 let result = g
15 .v(())
16 .has_label("complex_vertex")
17 .has(("name", "test1"))
18 .out("complex_label")
19 .out("complex_label")
20 .value_map(())
21 .next()?
22 .expect("no vertices found");
23
24 println!(
25 "Found vertex with name {:?}",
26 result["name"].get::<List>().unwrap()[0]
27 );
28
29 let results = g
30 .v(())
31 .has_label("complex_vertex")
32 .has(("number", P::gt(3)))
33 .to_list()?;
34
35 println!(
36 "Found {} vertices with number greater than 3",
37 results.len()
38 );
39
40 let results = g
41 .v(())
42 .has_label("complex_vertex")
43 .has(("number", P::within((3, 6))))
44 .to_list()?;
45
46 println!("Found {} vertices with number 3 or 6", results.len());
47
48 let results = g
49 .v(())
50 .has_label("complex_vertex")
51 .where_(__.out("complex_label").count().is(P::gte(1)))
52 .to_list()?;
53
54 println!(
55 "Found {} vertices with 1 or more connected edges with label complex_label",
56 results.len()
57 );
58
59 Ok(())
60}pub fn element_map<L>(self, labels: L) -> GraphTraversal<S, Map, T>
pub fn count(self) -> GraphTraversal<S, i64, T>where
T: Terminator<i64>,
pub fn group_count(self) -> GraphTraversal<S, Map, T>where
T: Terminator<Map>,
pub fn group_count_as<A>(self, key: A) -> GraphTraversal<S, E, T>
pub fn group(self) -> GraphTraversal<S, Map, T>where
T: Terminator<Map>,
pub fn group_as<A>(self, key: A) -> GraphTraversal<S, E, T>
pub fn by<A>(self, step: A) -> Self
pub fn select<A>(self, step: A) -> GraphTraversal<S, GValue, T>
pub fn fold(self) -> GraphTraversal<S, List, T>where
T: Terminator<List>,
pub fn unfold(self) -> Self
pub fn path(self) -> GraphTraversal<S, Path, T>where
T: Terminator<Path>,
pub fn limit<A>(self, limit: A) -> Self
pub fn dedup<A>(self, dedup: A) -> Self
pub fn sum<A>(self, scope: A) -> GraphTraversal<S, GValue, T>
pub fn max<A>(self, scope: A) -> GraphTraversal<S, GValue, T>
pub fn mean<A>(self, scope: A) -> GraphTraversal<S, GValue, T>
pub fn min<A>(self, scope: A) -> GraphTraversal<S, GValue, T>
pub fn is<A>(self, val: A) -> Selfwhere
A: IntoPredicate,
Sourcepub fn where_<A>(self, step: A) -> Self
pub fn where_<A>(self, step: A) -> Self
Examples found in repository?
examples/traversal_complex.rs (line 51)
7fn main() -> Result<(), Box<dyn std::error::Error>> {
8 let client = GremlinClient::connect("localhost")?;
9
10 let g = traversal().with_remote(client);
11
12 create_graph(&g)?;
13
14 let result = g
15 .v(())
16 .has_label("complex_vertex")
17 .has(("name", "test1"))
18 .out("complex_label")
19 .out("complex_label")
20 .value_map(())
21 .next()?
22 .expect("no vertices found");
23
24 println!(
25 "Found vertex with name {:?}",
26 result["name"].get::<List>().unwrap()[0]
27 );
28
29 let results = g
30 .v(())
31 .has_label("complex_vertex")
32 .has(("number", P::gt(3)))
33 .to_list()?;
34
35 println!(
36 "Found {} vertices with number greater than 3",
37 results.len()
38 );
39
40 let results = g
41 .v(())
42 .has_label("complex_vertex")
43 .has(("number", P::within((3, 6))))
44 .to_list()?;
45
46 println!("Found {} vertices with number 3 or 6", results.len());
47
48 let results = g
49 .v(())
50 .has_label("complex_vertex")
51 .where_(__.out("complex_label").count().is(P::gte(1)))
52 .to_list()?;
53
54 println!(
55 "Found {} vertices with 1 or more connected edges with label complex_label",
56 results.len()
57 );
58
59 Ok(())
60}pub fn not<A>(self, step: A) -> Self
pub fn order<A>(self, scope: A) -> Self
pub fn match_<A>(self, step: A) -> GraphTraversal<S, Map, T>
Sourcepub fn drop(self) -> Self
pub fn drop(self) -> Self
Examples found in repository?
examples/traversal_complex.rs (line 65)
62fn create_graph(
63 g: &GraphTraversalSource<SyncTerminator>,
64) -> Result<(), Box<dyn std::error::Error>> {
65 g.v(()).has_label("complex_vertex").drop().next()?;
66 g.e(()).has_label("complex_label").drop().next()?;
67
68 let mut current_next: Option<Vertex> = None;
69 (0..10).for_each(|e| {
70 let next = g
71 .add_v("complex_vertex")
72 .property("name", format!("test{}", e))
73 .property("number", e)
74 .next()
75 .expect("failed to create vertex");
76
77 current_next.iter().zip(next.iter()).for_each(|(a, b)| {
78 g.add_e("complex_label")
79 .from(a)
80 .to(b)
81 .next()
82 .expect("failed to create edge");
83 });
84
85 current_next = next;
86 });
87
88 Ok(())
89}pub fn or<A>(self, step: A) -> Self
pub fn map<A>(self, step: A) -> Self
pub fn project<A>(self, step: A) -> GraphTraversal<S, GValue, T>
pub fn v<VT>(self, ids: VT) -> Self
pub fn repeat<A>(self, step: A) -> Selfwhere
A: Into<RepeatStep>,
pub fn until<A>(self, step: A) -> Self
pub fn simple_path(self) -> Self
pub fn sample(self, step: i32) -> Self
pub fn loops<A>(self, step: A) -> Self
pub fn local<A>(self, step: A) -> Self
pub fn aggregate<A>(self, alias: A) -> Self
pub fn value(self) -> Self
pub fn choose<A>(self, step: A) -> Selfwhere
A: IntoChooseStep,
pub fn coalesce<B, A>(self, colaesce: A) -> GraphTraversal<S, B, T>
pub fn identity(self) -> Self
pub fn range(self, step: i64, step2: i64) -> Self
pub fn cap(self, step: &'static str) -> Self
pub fn barrier(self) -> Self
pub fn optional(self, step: TraversalBuilder) -> Self
pub fn constant<A>(self, value: A) -> Self
pub fn emit(self) -> Self
Trait Implementations§
Source§impl<S: Clone, E: Clone + FromGValue, T: Clone + Terminator<E>> Clone for GraphTraversal<S, E, T>
impl<S: Clone, E: Clone + FromGValue, T: Clone + Terminator<E>> Clone for GraphTraversal<S, E, T>
Source§fn clone(&self) -> GraphTraversal<S, E, T>
fn clone(&self) -> GraphTraversal<S, E, T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S, E, T> Freeze for GraphTraversal<S, E, T>where
T: Freeze,
impl<S, E, T> RefUnwindSafe for GraphTraversal<S, E, T>
impl<S, E, T> Send for GraphTraversal<S, E, T>
impl<S, E, T> Sync for GraphTraversal<S, E, T>
impl<S, E, T> Unpin for GraphTraversal<S, E, T>
impl<S, E, T> UnwindSafe for GraphTraversal<S, E, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more