Function std::array::from_ref1.53.0[][src]

pub fn from_ref<T>(s: &T) -> &[T; 1]
Expand description

将 quotes 转换为 T,将 quotes 转换为长度为 1 的数组 (不进行复制)。