АК
Size: a a a
АК
MB
АК
MB
a = it.next()?;
b = it.next()?:
/
/
let (word1, word2, word3): (&str, &str, &str) = iter.take(3).collect();
ИЛ
let (word1, word2, word3): (&str, &str, &str) = iter.take(3).collect();
/
ИЛ
/
/
ИЛ
ИЛ
U
AK
name=$type
#[macro_export]
macro_rules! paged_response {
($type:ident) => {
#[juniper::graphql_object(name=$type)]
impl PagedResponse<$type> {
fn objects(&self) -> &Vec<$type> {
&self.objects
}
fn offest(&self) -> i32 {
*&self.objects.len() as i32
}
}
};
}
YK
YK
static ACTIONS: [TicTacToeActionData; ACTIONS_TOTAL] = {
let mut res: [TicTacToeActionData; ACTIONS_TOTAL];
for i in 0..ACTIONS_TOTAL {
res[i] = TicTacToeActionData::new(i);
}
res
};
YK
SS
static ACTIONS: [TicTacToeActionData; ACTIONS_TOTAL] = {
let mut res: [TicTacToeActionData; ACTIONS_TOTAL];
for i in 0..ACTIONS_TOTAL {
res[i] = TicTacToeActionData::new(i);
}
res
};
YK