32 |
/// * 1/2 VDDANA reference voltage
|
33 |
#[allow(clippy::self_named_constructors)]
|
34 |
pub fn adc(adc: ADC, pm: &mut PM, clocks: &mut GenericClockController) -> Self {
|
33 |
impl Opts {
|
34 |
#[allow(clippy::self_named_constructors)]
|
35 |
pub fn opts() -> Result<Self, OptError> {
|
28 |
impl Error {
|
29 |
#[allow(clippy::self_named_constructors)]
|
30 |
pub fn error() -> Self {
|
459 |
/// Construct a new `WithSid` with a sid.
|
460 |
#[allow(clippy::self_named_constructors)]
|
461 |
pub fn with_sid(sid: impl Into<String>, data: T) -> Self {
|
39 |
impl Error {
|
40 |
#[allow(clippy::self_named_constructors)]
|
41 |
pub fn error(e: impl StdError + 'static) -> Self {
|
282 |
#[allow(clippy::self_named_constructors)]
|
283 |
pub fn service(config: ServiceConfig, runtime: Runtime) -> Result<Self, esb::Error<ServiceId>> {
|
1004 |
#[inline]
|
1005 |
#[allow(clippy::self_named_constructors)]
|
1006 |
pub fn null() -> Self {
|
84 |
// built-in operators
|
85 |
#[allow(clippy::self_named_constructors)]
|
86 |
pub fn op(parameters: RawParameters, ctx: &dyn Context) -> Result<Op, Error> {
|
698 |
/// Constructs a new `ManualReply`.
|
699 |
#[allow(clippy::self_named_constructors)]
|
700 |
pub const fn empty() -> Self {
|
61 |
#[doc(hidden)]
|
62 |
#[allow(clippy::self_named_constructors)]
|
63 |
pub fn spanning(v: Vec<Spanning<T>>) -> Option<Spanning<Vec<Spanning<T>>>> {
|
107 |
#[allow(clippy::self_named_constructors)]
|
108 |
pub fn service<Ext>(
|
83 |
/// Wrap this type in [`Join`]
|
84 |
#[allow(clippy::self_named_constructors)]
|
85 |
fn join(self) -> Join<F, Self, A>
|
58 |
impl Iter {
|
59 |
#[allow(clippy::self_named_constructors)]
|
60 |
fn __iter__(slf: PyRef<'_, Self>) -> PyRef<'_, Self> {
|
225 |
/// Creates a new angle, wrapping between a negative half turn and a positive half turn.
|
226 |
#[allow(clippy::self_named_constructors)]
|
227 |
pub fn wrap(val: F) -> Self {
|
278 |
// For now using conventional approach with the right being "newer".
|
279 |
#[allow(clippy::self_named_constructors)]
|
280 |
pub fn diff(left: Directory, right: Directory) -> Self {
|
373 |
/// ```
|
374 |
#[allow(clippy::self_named_constructors)]
|
375 |
pub fn expr<T>(expr: T) -> Self
|
65 |
impl Hash {
|
66 |
#[allow(clippy::self_named_constructors)]
|
67 |
/// sha3 256 hash
|
99 |
#[staticmethod]
|
100 |
#[allow(clippy::self_named_constructors)]
|
101 |
/// Return a Sha256 hash for the given data.
|
153 |
/// ```
|
154 |
#[allow(clippy::self_named_constructors)]
|
155 |
pub fn subgraph(id: Option<Identity>, list: StmtList) -> Self {
|
89 |
/// Create a new query from name and type, class defaults to IN
|
90 |
#[allow(clippy::self_named_constructors)]
|
91 |
pub fn query(name: Name, query_type: RecordType) -> Self {
|
86 |
#[allow(clippy::self_named_constructors)]
|
87 |
impl Text {
|
6 |
non_upper_case_globals,
|
7 |
clippy::self_named_constructors,
|
8 |
clippy::module_inception
|
8 |
#![allow(clippy::self_named_constructors)]
|
639 |
// shut up
|
640 |
#![allow(clippy::self_named_constructors)]
|
641 |
#![allow(clippy::type_complexity)]
|