Lines Matching defs:Self
60 fn from_str(s: &str) -> Result<Self, Self::Err> { in from_str()
91 pub fn round(mut self, rnd_mode: ResolutionRoundMode) -> Self { in round()
113 fn from(value: (u32, u32)) -> Self { in from() argument
119 fn from(value: Resolution) -> Self { in from()
133 fn from(value: Rect) -> Self { in from()
139 fn from(value: Resolution) -> Self { in from()
145 fn from(value: ((u32, u32), (u32, u32))) -> Self { in from() argument
156 fn from(fourcc: u32) -> Self { in from()
162 fn from(fourcc: Fourcc) -> Self { in from()
168 fn from(n: &[u8; 4]) -> Self { in from()
174 fn from(n: Fourcc) -> Self { in from()
229 fn from_str(s: &str) -> Result<Self, Self::Err> { in from_str()
282 fn from_str(s: &str) -> Result<Self, Self::Err> { in from_str()