Home
last modified time | relevance | path

Searched defs:Self (Results 1 – 25 of 2388) sorted by relevance

12345678910>>...96

/external/rust/crates/num-traits/src/
Dreal.rs81 fn floor(self) -> Self; in floor()
94 fn ceil(self) -> Self; in ceil()
108 fn round(self) -> Self; in round()
121 fn trunc(self) -> Self; in trunc()
136 fn fract(self) -> Self; in fract()
156 fn abs(self) -> Self; in abs()
175 fn signum(self) -> Self; in signum()
231 fn mul_add(self, a: Self, b: Self) -> Self; in mul_add()
243 fn recip(self) -> Self; in recip()
257 fn powi(self, n: i32) -> Self; in powi()
[all …]
Dfloat.rs294 fn floor(self) -> Self { in floor()
328 fn ceil(self) -> Self { in ceil()
361 fn round(self) -> Self { in round()
405 fn trunc(self) -> Self { in trunc()
437 fn fract(self) -> Self { in fract()
466 fn abs(self) -> Self { in abs()
500 fn signum(self) -> Self { in signum()
585 fn min(self, other: Self) -> Self { in min()
619 fn max(self, other: Self) -> Self { in max()
652 fn recip(self) -> Self { in recip()
[all …]
Dint.rs154 fn rotate_left(self, n: u32) -> Self; in rotate_left()
169 fn rotate_right(self, n: u32) -> Self; in rotate_right()
186 fn signed_shl(self, n: u32) -> Self; in signed_shl()
203 fn signed_shr(self, n: u32) -> Self; in signed_shr()
220 fn unsigned_shl(self, n: u32) -> Self; in unsigned_shl()
237 fn unsigned_shr(self, n: u32) -> Self; in unsigned_shr()
251 fn swap_bytes(self) -> Self; in swap_bytes()
269 fn reverse_bits(self) -> Self { in reverse_bits()
290 fn from_be(x: Self) -> Self; in from_be()
309 fn from_le(x: Self) -> Self; in from_le()
[all …]
/external/rust/crates/glam/src/swizzles/
Dvec_traits.rs9 fn xy(self) -> Self { in xy()
13 fn xx(self) -> Self; in xx()
15 fn yx(self) -> Self; in yx()
17 fn yy(self) -> Self; in yy()
74 fn xyz(self) -> Self { in xyz()
96 fn xxx(self) -> Self; in xxx()
98 fn xxy(self) -> Self; in xxy()
100 fn xxz(self) -> Self; in xxz()
102 fn xyx(self) -> Self; in xyx()
104 fn xyy(self) -> Self; in xyy()
[all …]
/external/rust/crates/syn/src/gen/
Dclone.rs9 fn clone(&self) -> Self { in clone()
19 fn clone(&self) -> Self { in clone()
31 fn clone(&self) -> Self { in clone()
48 fn clone(&self) -> Self { in clone()
55 fn clone(&self) -> Self { in clone()
68 fn clone(&self) -> Self { in clone()
82 fn clone(&self) -> Self { in clone()
89 fn clone(&self) -> Self { in clone()
100 fn clone(&self) -> Self { in clone()
110 fn clone(&self) -> Self { in clone()
[all …]
/external/rust/crates/half/src/
Dnum_traits.rs53 fn from_i64(n: i64) -> Option<Self> { in from_i64()
57 fn from_u64(n: u64) -> Option<Self> { in from_u64()
61 fn from_i8(n: i8) -> Option<Self> { in from_i8()
65 fn from_u8(n: u8) -> Option<Self> { in from_u8()
69 fn from_i16(n: i16) -> Option<Self> { in from_i16()
73 fn from_u16(n: u16) -> Option<Self> { in from_u16()
77 fn from_i32(n: i32) -> Option<Self> { in from_i32()
81 fn from_u32(n: u32) -> Option<Self> { in from_u32()
85 fn from_f32(n: f32) -> Option<Self> { in from_f32()
89 fn from_f64(n: f64) -> Option<Self> { in from_f64()
[all …]
/external/rust/crates/vulkano/src/device/
Dproperties.rs140 fn from_vulkan(val: F) -> Option<Self>; in from_vulkan()
145 fn from_vulkan(val: u8) -> Option<Self> { in from_vulkan()
152 fn from_vulkan(val: [u8; N]) -> Option<Self> { in from_vulkan()
159 fn from_vulkan(val: u32) -> Option<Self> { in from_vulkan()
166 fn from_vulkan(val: [u32; N]) -> Option<Self> { in from_vulkan()
173 fn from_vulkan(val: u64) -> Option<Self> { in from_vulkan()
180 fn from_vulkan(val: usize) -> Option<Self> { in from_vulkan()
187 fn from_vulkan(val: i32) -> Option<Self> { in from_vulkan()
194 fn from_vulkan(val: i64) -> Option<Self> { in from_vulkan()
201 fn from_vulkan(val: f32) -> Option<Self> { in from_vulkan()
[all …]
/external/rust/crates/pest/src/
Dparser_state.rs198 pub fn new(input: &'i str) -> Box<Self> { in new()
256 fn inc_call_check_limit(mut self: Box<Self>) -> ParseResult<Box<Self>> { in inc_call_check_limit()
290 pub fn rule<F>(mut self: Box<Self>, rule: R, f: F) -> ParseResult<Box<Self>> in rule()
292 F: FnOnce(Box<Self>) -> ParseResult<Box<Self>>, in rule()
459 pub fn sequence<F>(mut self: Box<Self>, f: F) -> ParseResult<Box<Self>> in sequence()
461 F: FnOnce(Box<Self>) -> ParseResult<Box<Self>>, in sequence()
509 pub fn repeat<F>(mut self: Box<Self>, mut f: F) -> ParseResult<Box<Self>> in repeat()
511 F: FnMut(Box<Self>) -> ParseResult<Box<Self>>, in repeat()
551 pub fn optional<F>(mut self: Box<Self>, f: F) -> ParseResult<Box<Self>> in optional()
553 F: FnOnce(Box<Self>) -> ParseResult<Box<Self>>, in optional()
[all …]
/external/rust/crates/plotters/src/chart/
Dmesh.rs26 pub(super) fn new(target: &'b mut ChartContext<'a, DB, Cartesian2d<X, Y>>) -> Self { in new()
35 pub fn axis_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in axis_style()
44 pub fn x_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in x_label_offset()
53 pub fn y_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in y_label_offset()
60 pub fn x_labels(&mut self, value: usize) -> &mut Self { in x_labels()
67 pub fn y_labels(&mut self, value: usize) -> &mut Self { in y_labels()
74 pub fn x_label_formatter(&mut self, fmt: &'b dyn Fn(&X::ValueType) -> String) -> &mut Self { in x_label_formatter()
81 pub fn y_label_formatter(&mut self, fmt: &'b dyn Fn(&Y::ValueType) -> String) -> &mut Self { in y_label_formatter()
88 pub fn axis_desc_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in axis_desc_style()
96 pub fn x_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in x_desc()
[all …]
/external/rust/crates/ppv-lite86/src/
Dtypes.rs9 fn bswap(self) -> Self; in bswap()
32 fn rotate_each_word_right7(self) -> Self; in rotate_each_word_right7()
33 fn rotate_each_word_right8(self) -> Self; in rotate_each_word_right8()
34 fn rotate_each_word_right11(self) -> Self; in rotate_each_word_right11()
35 fn rotate_each_word_right12(self) -> Self; in rotate_each_word_right12()
36 fn rotate_each_word_right16(self) -> Self; in rotate_each_word_right16()
37 fn rotate_each_word_right20(self) -> Self; in rotate_each_word_right20()
38 fn rotate_each_word_right24(self) -> Self; in rotate_each_word_right24()
39 fn rotate_each_word_right25(self) -> Self; in rotate_each_word_right25()
43 fn rotate_each_word_right32(self) -> Self; in rotate_each_word_right32()
[all …]
Dsoft.rs13 pub fn new(xs: [W; 2]) -> Self { in new()
115 unsafe fn unsafe_from(xs: [W; 2]) -> Self { in unsafe_from()
125 fn insert(mut self, w: W, i: u32) -> Self { in insert()
132 unsafe fn unpack(p: vec256_storage) -> Self { in unpack()
143 fn from(x: x2<W, G>) -> Self { in from()
165 fn from_lanes(lanes: [W; 2]) -> Self { in from_lanes()
171 fn bswap(self) -> Self { in bswap()
177 unsafe fn unsafe_read_le(input: &[u8]) -> Self { in unsafe_read_le()
182 unsafe fn unsafe_read_be(input: &[u8]) -> Self { in unsafe_read_be()
201 fn shuffle_lane_words2301(self) -> Self { in shuffle_lane_words2301()
[all …]
/external/rust/crates/futures-sink/src/
Dlib.rs68 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_ready()
89 fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error>; in start_send()
103 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_flush()
116 fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>; in poll_close()
122 fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
126 fn start_send(mut self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> { in start_send()
130 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush()
134 fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close()
146 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
150 fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> { in start_send()
[all …]
/external/rust/crates/tokio/src/io/
Dasync_write.rs59 self: Pin<&mut Self>, in poll_write()
73 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), io::Error>>; in poll_flush()
133 fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), io::Error>>; in poll_shutdown()
159 self: Pin<&mut Self>, in poll_write_vectored()
231 self: Pin<&mut Self>, in poll_write()
239 self: Pin<&mut Self>, in poll_write_vectored()
250 fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_flush()
254 fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_shutdown()
261 self: Pin<&mut Self>, in poll_write()
270 mut self: Pin<&mut Self>, in poll_write_vectored()
[all …]
/external/rust/crates/glam/tests/
Dsupport.rs14 fn to_radians(self) -> Self; in to_radians()
77 fn approx_eq(&self, other: &Self, max_abs_diff: f32) -> bool { in approx_eq()
81 fn abs_diff(&self, other: &Self) -> Self { in abs_diff()
91 fn approx_eq(&self, other: &Self, max_abs_diff: f32) -> bool { in approx_eq()
95 fn abs_diff(&self, other: &Self) -> Self { in abs_diff()
105 fn approx_eq(&self, other: &Self, max_abs_diff: f32) -> bool { in approx_eq()
109 fn abs_diff(&self, other: &Self) -> Self { in abs_diff()
120 fn approx_eq(&self, other: &Self, max_abs_diff: f32) -> bool { in approx_eq()
124 fn abs_diff(&self, other: &Self) -> Self { in abs_diff()
135 fn approx_eq(&self, other: &Self, max_abs_diff: f32) -> bool { in approx_eq()
[all …]
/external/rust/crates/protobuf/src/
Dmisc.rs39 fn from(inner: well_known_types::wrappers::BoolValue) -> Self { in from()
45 fn from(inner: bool) -> Self { in from()
55 fn from(inner: well_known_types::wrappers::BytesValue) -> Self { in from()
61 fn from(inner: Vec<u8>) -> Self { in from()
71 fn from(inner: well_known_types::wrappers::DoubleValue) -> Self { in from()
77 fn from(inner: f64) -> Self { in from()
87 fn from(inner: well_known_types::wrappers::FloatValue) -> Self { in from()
93 fn from(inner: f32) -> Self { in from()
103 fn from(inner: well_known_types::wrappers::Int32Value) -> Self { in from()
109 fn from(inner: i32) -> Self { in from()
[all …]
/external/rust/crates/serde_json/src/value/
Dfrom.rs42 fn from(f: f32) -> Self { in from()
58 fn from(f: f64) -> Self { in from()
74 fn from(f: bool) -> Self { in from()
90 fn from(f: String) -> Self { in from()
106 fn from(f: &str) -> Self { in from()
131 fn from(f: Cow<'a, str>) -> Self { in from()
147 fn from(f: Number) -> Self { in from()
164 fn from(f: Map<String, Value>) -> Self { in from()
180 fn from(f: Vec<T>) -> Self { in from()
196 fn from(f: &'a [T]) -> Self { in from()
[all …]
/external/rust/crates/clap/3.2.23/src/builder/
Darg.rs122 pub fn new<S: Into<&'help str>>(n: S) -> Self { in new()
130 pub fn id<S: Into<&'help str>>(mut self, n: S) -> Self { in id()
150 pub fn name<S: Into<&'help str>>(self, n: S) -> Self { in name()
180 pub fn short(mut self, s: char) -> Self { in short()
218 pub fn long(mut self, l: &'help str) -> Self { in long()
251 pub fn alias<S: Into<&'help str>>(mut self, name: S) -> Self { in alias()
277 pub fn short_alias(mut self, name: char) -> Self { in short_alias()
306 pub fn aliases(mut self, names: &[&'help str]) -> Self { in aliases()
333 pub fn short_aliases(mut self, names: &[char]) -> Self { in short_aliases()
362 pub fn visible_alias<S: Into<&'help str>>(mut self, name: S) -> Self { in visible_alias()
[all …]
Darg_group.rs92 pub(crate) fn with_id(id: Id) -> Self { in with_id()
111 pub fn new<S: Into<&'help str>>(n: S) -> Self { in new()
125 pub fn id<S: Into<&'help str>>(mut self, n: S) -> Self { in id()
144 pub fn name<S: Into<&'help str>>(self, n: S) -> Self { in name()
170 pub fn arg<T: Key>(mut self, arg_id: T) -> Self { in arg()
196 pub fn args<T: Key>(mut self, ns: &[T]) -> Self { in args()
246 pub fn multiple(mut self, yes: bool) -> Self { in multiple()
288 pub fn required(mut self, yes: bool) -> Self { in required()
325 pub fn requires<T: Key>(mut self, id: T) -> Self { in requires()
364 pub fn requires_all(mut self, ns: &[&'help str]) -> Self { in requires_all()
[all …]
/external/rust/crates/glam/src/f32/wasm32/
Dvec3a.rs73 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
79 pub const fn splat(v: f32) -> Self { in splat()
89 pub fn select(mask: BVec3A, if_true: Self, if_false: Self) -> Self { in select()
95 pub const fn from_array(a: [f32; 3]) -> Self { in from_array()
111 pub const fn from_slice(slice: &[f32]) -> Self { in from_slice()
130 pub(crate) fn from_vec4(v: Vec4) -> Self { in from_vec4()
157 pub fn dot_into_vec(self, rhs: Self) -> Self { in dot_into_vec()
163 pub fn cross(self, rhs: Self) -> Self { in cross()
176 pub fn min(self, rhs: Self) -> Self { in min()
184 pub fn max(self, rhs: Self) -> Self { in max()
[all …]
/external/rust/crates/glam/src/f32/coresimd/
Dvec3a.rs69 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
75 pub const fn splat(v: f32) -> Self { in splat()
85 pub fn select(mask: BVec3A, if_true: Self, if_false: Self) -> Self { in select()
91 pub const fn from_array(a: [f32; 3]) -> Self { in from_array()
107 pub const fn from_slice(slice: &[f32]) -> Self { in from_slice()
126 pub(crate) fn from_vec4(v: Vec4) -> Self { in from_vec4()
153 pub fn dot_into_vec(self, rhs: Self) -> Self { in dot_into_vec()
159 pub fn cross(self, rhs: Self) -> Self { in cross()
172 pub fn min(self, rhs: Self) -> Self { in min()
180 pub fn max(self, rhs: Self) -> Self { in max()
[all …]
/external/rust/crates/glam/src/f32/scalar/
Dvec3a.rs72 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
78 pub const fn splat(v: f32) -> Self { in splat()
88 pub fn select(mask: BVec3A, if_true: Self, if_false: Self) -> Self { in select()
98 pub const fn from_array(a: [f32; 3]) -> Self { in from_array()
114 pub const fn from_slice(slice: &[f32]) -> Self { in from_slice()
133 pub(crate) fn from_vec4(v: Vec4) -> Self { in from_vec4()
164 pub fn dot_into_vec(self, rhs: Self) -> Self { in dot_into_vec()
170 pub fn cross(self, rhs: Self) -> Self { in cross()
182 pub fn min(self, rhs: Self) -> Self { in min()
194 pub fn max(self, rhs: Self) -> Self { in max()
[all …]
/external/uwb/src/rust/uwb_core/src/proto/
Dmappings.rs106 fn from(item: ProtoStatusCode) -> Self { in from()
188 fn from(item: StatusCode) -> Self { in from()
294 fn from(item: ProtoReasonCode) -> Self { in from()
400 fn from(item: ReasonCode) -> Self { in from()
695 fn from(item: Result<T>) -> Self { in from()
712 fn from(item: ShortAddressTwoWayRangingMeasurement) -> Self { in from()
733 fn from(item: ExtendedAddressTwoWayRangingMeasurement) -> Self { in from()
754 fn from(item: ShortAddressOwrAoaRangingMeasurement) -> Self { in from()
770 fn from(item: ExtendedAddressOwrAoaRangingMeasurement) -> Self { in from()
786 fn from(item: ShortAddressDlTdoaRangingMeasurement) -> Self { in from()
[all …]
/external/rust/crates/arbitrary/src/
Dlib.rs180 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>; in arbitrary()
189 fn arbitrary_take_rest(mut u: Unstructured<'a>) -> Result<Self> { in arbitrary_take_rest()
284 fn arbitrary(_: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
295 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
368 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
392 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
403 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
414 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
513 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
530 fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> { in arbitrary()
[all …]
/external/rust/crates/glam/src/f32/sse2/
Dvec3a.rs76 pub const fn new(x: f32, y: f32, z: f32) -> Self { in new()
82 pub const fn splat(v: f32) -> Self { in splat()
92 pub fn select(mask: BVec3A, if_true: Self, if_false: Self) -> Self { in select()
103 pub const fn from_array(a: [f32; 3]) -> Self { in from_array()
119 pub const fn from_slice(slice: &[f32]) -> Self { in from_slice()
138 pub(crate) fn from_vec4(v: Vec4) -> Self { in from_vec4()
165 pub fn dot_into_vec(self, rhs: Self) -> Self { in dot_into_vec()
171 pub fn cross(self, rhs: Self) -> Self { in cross()
191 pub fn min(self, rhs: Self) -> Self { in min()
199 pub fn max(self, rhs: Self) -> Self { in max()
[all …]
/external/rust/crates/futures-channel/src/mpsc/
Dsink_impl.rs9 fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
13 fn start_send(mut self: Pin<&mut Self>, msg: T) -> Result<(), Self::Error> { in start_send()
17 fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush()
27 fn poll_close(mut self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close()
36 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
40 fn start_send(mut self: Pin<&mut Self>, msg: T) -> Result<(), Self::Error> { in start_send()
44 fn poll_flush(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_flush()
48 fn poll_close(mut self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_close()
57 fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { in poll_ready()
61 fn start_send(self: Pin<&mut Self>, msg: T) -> Result<(), Self::Error> { in start_send()
[all …]

12345678910>>...96