@@ -827,7 +827,8 @@ pub mod rmw {
827827
828828 impl rosidl_runtime_rs:: Service for Fibonacci_GetResult {
829829 type Request = crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_GetResult_Request ;
830- type Response = crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_GetResult_Response ;
830+ type Response =
831+ crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_GetResult_Response ;
831832
832833 fn get_type_support ( ) -> * const std:: ffi:: c_void {
833834 // SAFETY: No preconditions for this function.
@@ -969,28 +970,35 @@ impl rosidl_runtime_rs::Message for Fibonacci_FeedbackMessage {
969970 std:: borrow:: Cow :: Owned ( msg. goal_id ) ,
970971 )
971972 . into_owned ( ) ,
972- feedback : crate :: vendor:: example_interfaces:: action:: Fibonacci_Feedback :: into_rmw_message (
973- std:: borrow:: Cow :: Owned ( msg. feedback ) ,
974- )
975- . into_owned ( ) ,
973+ feedback :
974+ crate :: vendor:: example_interfaces:: action:: Fibonacci_Feedback :: into_rmw_message (
975+ std:: borrow:: Cow :: Owned ( msg. feedback ) ,
976+ )
977+ . into_owned ( ) ,
976978 } ) ,
977979 std:: borrow:: Cow :: Borrowed ( msg) => std:: borrow:: Cow :: Owned ( Self :: RmwMsg {
978980 goal_id : crate :: vendor:: unique_identifier_msgs:: msg:: UUID :: into_rmw_message (
979981 std:: borrow:: Cow :: Borrowed ( & msg. goal_id ) ,
980982 )
981983 . into_owned ( ) ,
982- feedback : crate :: vendor:: example_interfaces:: action:: Fibonacci_Feedback :: into_rmw_message (
983- std:: borrow:: Cow :: Borrowed ( & msg. feedback ) ,
984- )
985- . into_owned ( ) ,
984+ feedback :
985+ crate :: vendor:: example_interfaces:: action:: Fibonacci_Feedback :: into_rmw_message (
986+ std:: borrow:: Cow :: Borrowed ( & msg. feedback ) ,
987+ )
988+ . into_owned ( ) ,
986989 } ) ,
987990 }
988991 }
989992
990993 fn from_rmw_message ( msg : Self :: RmwMsg ) -> Self {
991994 Self {
992- goal_id : crate :: vendor:: unique_identifier_msgs:: msg:: UUID :: from_rmw_message ( msg. goal_id ) ,
993- feedback : crate :: vendor:: example_interfaces:: action:: Fibonacci_Feedback :: from_rmw_message ( msg. feedback ) ,
995+ goal_id : crate :: vendor:: unique_identifier_msgs:: msg:: UUID :: from_rmw_message (
996+ msg. goal_id ,
997+ ) ,
998+ feedback :
999+ crate :: vendor:: example_interfaces:: action:: Fibonacci_Feedback :: from_rmw_message (
1000+ msg. feedback ,
1001+ ) ,
9941002 }
9951003 }
9961004}
@@ -1020,28 +1028,32 @@ impl rosidl_runtime_rs::Message for Fibonacci_SendGoal_Request {
10201028 std:: borrow:: Cow :: Owned ( msg. goal_id ) ,
10211029 )
10221030 . into_owned ( ) ,
1023- goal : crate :: vendor:: example_interfaces:: action:: Fibonacci_Goal :: into_rmw_message ( std :: borrow :: Cow :: Owned (
1024- msg. goal ,
1025- ) )
1031+ goal : crate :: vendor:: example_interfaces:: action:: Fibonacci_Goal :: into_rmw_message (
1032+ std :: borrow :: Cow :: Owned ( msg. goal ) ,
1033+ )
10261034 . into_owned ( ) ,
10271035 } ) ,
10281036 std:: borrow:: Cow :: Borrowed ( msg) => std:: borrow:: Cow :: Owned ( Self :: RmwMsg {
10291037 goal_id : crate :: vendor:: unique_identifier_msgs:: msg:: UUID :: into_rmw_message (
10301038 std:: borrow:: Cow :: Borrowed ( & msg. goal_id ) ,
10311039 )
10321040 . into_owned ( ) ,
1033- goal : crate :: vendor:: example_interfaces:: action:: Fibonacci_Goal :: into_rmw_message ( std :: borrow :: Cow :: Borrowed (
1034- & msg. goal ,
1035- ) )
1041+ goal : crate :: vendor:: example_interfaces:: action:: Fibonacci_Goal :: into_rmw_message (
1042+ std :: borrow :: Cow :: Borrowed ( & msg. goal ) ,
1043+ )
10361044 . into_owned ( ) ,
10371045 } ) ,
10381046 }
10391047 }
10401048
10411049 fn from_rmw_message ( msg : Self :: RmwMsg ) -> Self {
10421050 Self {
1043- goal_id : crate :: vendor:: unique_identifier_msgs:: msg:: UUID :: from_rmw_message ( msg. goal_id ) ,
1044- goal : crate :: vendor:: example_interfaces:: action:: Fibonacci_Goal :: from_rmw_message ( msg. goal ) ,
1051+ goal_id : crate :: vendor:: unique_identifier_msgs:: msg:: UUID :: from_rmw_message (
1052+ msg. goal_id ,
1053+ ) ,
1054+ goal : crate :: vendor:: example_interfaces:: action:: Fibonacci_Goal :: from_rmw_message (
1055+ msg. goal ,
1056+ ) ,
10451057 }
10461058 }
10471059}
@@ -1068,16 +1080,16 @@ impl rosidl_runtime_rs::Message for Fibonacci_SendGoal_Response {
10681080 match msg_cow {
10691081 std:: borrow:: Cow :: Owned ( msg) => std:: borrow:: Cow :: Owned ( Self :: RmwMsg {
10701082 accepted : msg. accepted ,
1071- stamp : crate :: vendor:: builtin_interfaces:: msg:: Time :: into_rmw_message ( std :: borrow :: Cow :: Owned (
1072- msg. stamp ,
1073- ) )
1083+ stamp : crate :: vendor:: builtin_interfaces:: msg:: Time :: into_rmw_message (
1084+ std :: borrow :: Cow :: Owned ( msg. stamp ) ,
1085+ )
10741086 . into_owned ( ) ,
10751087 } ) ,
10761088 std:: borrow:: Cow :: Borrowed ( msg) => std:: borrow:: Cow :: Owned ( Self :: RmwMsg {
10771089 accepted : msg. accepted ,
1078- stamp : crate :: vendor:: builtin_interfaces:: msg:: Time :: into_rmw_message ( std :: borrow :: Cow :: Borrowed (
1079- & msg. stamp ,
1080- ) )
1090+ stamp : crate :: vendor:: builtin_interfaces:: msg:: Time :: into_rmw_message (
1091+ std :: borrow :: Cow :: Borrowed ( & msg. stamp ) ,
1092+ )
10811093 . into_owned ( ) ,
10821094 } ) ,
10831095 }
@@ -1127,7 +1139,9 @@ impl rosidl_runtime_rs::Message for Fibonacci_GetResult_Request {
11271139
11281140 fn from_rmw_message ( msg : Self :: RmwMsg ) -> Self {
11291141 Self {
1130- goal_id : crate :: vendor:: unique_identifier_msgs:: msg:: UUID :: from_rmw_message ( msg. goal_id ) ,
1142+ goal_id : crate :: vendor:: unique_identifier_msgs:: msg:: UUID :: from_rmw_message (
1143+ msg. goal_id ,
1144+ ) ,
11311145 }
11321146 }
11331147}
@@ -1154,25 +1168,29 @@ impl rosidl_runtime_rs::Message for Fibonacci_GetResult_Response {
11541168 match msg_cow {
11551169 std:: borrow:: Cow :: Owned ( msg) => std:: borrow:: Cow :: Owned ( Self :: RmwMsg {
11561170 status : msg. status ,
1157- result : crate :: vendor:: example_interfaces:: action:: Fibonacci_Result :: into_rmw_message ( std:: borrow:: Cow :: Owned (
1158- msg. result ,
1159- ) )
1160- . into_owned ( ) ,
1171+ result :
1172+ crate :: vendor:: example_interfaces:: action:: Fibonacci_Result :: into_rmw_message (
1173+ std:: borrow:: Cow :: Owned ( msg. result ) ,
1174+ )
1175+ . into_owned ( ) ,
11611176 } ) ,
11621177 std:: borrow:: Cow :: Borrowed ( msg) => std:: borrow:: Cow :: Owned ( Self :: RmwMsg {
11631178 status : msg. status ,
1164- result : crate :: vendor:: example_interfaces:: action:: Fibonacci_Result :: into_rmw_message (
1165- std:: borrow:: Cow :: Borrowed ( & msg. result ) ,
1166- )
1167- . into_owned ( ) ,
1179+ result :
1180+ crate :: vendor:: example_interfaces:: action:: Fibonacci_Result :: into_rmw_message (
1181+ std:: borrow:: Cow :: Borrowed ( & msg. result ) ,
1182+ )
1183+ . into_owned ( ) ,
11681184 } ) ,
11691185 }
11701186 }
11711187
11721188 fn from_rmw_message ( msg : Self :: RmwMsg ) -> Self {
11731189 Self {
11741190 status : msg. status ,
1175- result : crate :: vendor:: example_interfaces:: action:: Fibonacci_Result :: from_rmw_message ( msg. result ) ,
1191+ result : crate :: vendor:: example_interfaces:: action:: Fibonacci_Result :: from_rmw_message (
1192+ msg. result ,
1193+ ) ,
11761194 }
11771195 }
11781196}
@@ -1243,7 +1261,8 @@ impl rosidl_runtime_rs::Action for Fibonacci {
12431261
12441262impl rosidl_runtime_rs:: ActionImpl for Fibonacci {
12451263 type GoalStatusMessage = crate :: vendor:: action_msgs:: msg:: rmw:: GoalStatusArray ;
1246- type FeedbackMessage = crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_FeedbackMessage ;
1264+ type FeedbackMessage =
1265+ crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_FeedbackMessage ;
12471266
12481267 type SendGoalService = crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_SendGoal ;
12491268 type CancelGoalService = crate :: vendor:: action_msgs:: srv:: rmw:: CancelGoal ;
@@ -1294,7 +1313,8 @@ impl rosidl_runtime_rs::ActionImpl for Fibonacci {
12941313 goal_id : & [ u8 ; 16 ] ,
12951314 feedback : crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_Feedback ,
12961315 ) -> crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_FeedbackMessage {
1297- let mut message = crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_FeedbackMessage :: default ( ) ;
1316+ let mut message =
1317+ crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_FeedbackMessage :: default ( ) ;
12981318 message. goal_id . uuid = * goal_id;
12991319 message. feedback = feedback;
13001320 message
@@ -1330,7 +1350,10 @@ impl rosidl_runtime_rs::ActionImpl for Fibonacci {
13301350 status : i8 ,
13311351 result : crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_Result ,
13321352 ) -> crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_GetResult_Response {
1333- crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_GetResult_Response { status, result }
1353+ crate :: vendor:: example_interfaces:: action:: rmw:: Fibonacci_GetResult_Response {
1354+ status,
1355+ result,
1356+ }
13341357 }
13351358
13361359 fn get_result_response_result (
0 commit comments