Lines Matching defs:target
14404 unsafe fn write_clone_into_raw(&self, target: *mut Self);
14409 default unsafe fn write_clone_into_raw(&self, target: *mut Self) {
14412 unsafe { target.write(self.clone()) };
14418 unsafe fn write_clone_into_raw(&self, target: *mut Self) {
14420 unsafe { target.copy_from_nonoverlapping(self, 1) };
15065 ($separator:expr, $target:expr, $iter:expr; $($num:expr),*) => {{
15066 let mut target = $target;
15075 copy_slice_and_advance!(target, sep_bytes);
15077 copy_slice_and_advance!(target, content_bytes);
15084 copy_slice_and_advance!(target, sep_bytes);
15086 copy_slice_and_advance!(target, content_bytes);
15090 target
15095 ($target:expr, $bytes:expr) => {
15097 let (head, tail) = { $target }.split_at_mut(len);
15099 $target = tail;
15145 let target = result.get_unchecked_mut(pos..reserved_len);
15150 let remain = specialize_for_lengths!(sep, target, iter; 0, 1, 2, 3, 4);
15185 fn clone_into(&self, target: &mut String) {
15186 let mut b = mem::take(target).into_bytes();
15188 *target = unsafe { String::from_utf8_unchecked(b) }
18890 fn clone_into(&self, target: &mut Self::Owned) {
18891 *target = self.to_owned();
18905 fn clone_into(&self, target: &mut T) {
18906 target.clone_from(self);
21544 /// The same restrictions of accessing the target of the pointer as with
22788 fn clone_into(&self, target: &mut Vec<T>) {
22789 // drop anything in target that will not be overwritten
22790 target.truncate(self.len());
22792 // target.len <= self.len due to the truncate above, so the
22794 let (init, tail) = self.split_at(target.len());
22797 target.clone_from_slice(init);
22798 target.extend_from_slice(tail);
24956 /// The same restrictions of accessing the target of the pointer as with
42815 /// `Equal` or `Greater` than the desired target.