1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
use crate::;
use fmt;
use Shl;
/// Provides a `std::fmt::Debug` implementation for types with a `QDebug` operator.
///
/// Use `qdbg` function instead of using this type directly.
;
/// Returns an object that implements `std::fmt::Debug` for a `value`
/// that has a `QDebug` operator.
///
/// Example:
/// ```
/// use qt_core::{qdbg, QVectorOfInt};
/// # unsafe {
/// let x = QVectorOfInt::new_0a();
/// x.append_int(&1);
/// x.append_int(&2);
/// println!("{:?}", qdbg(x.as_ref()));
/// # }
/// ```
pub unsafe