pub trait Default: Sized {
// Required method
fn default() -> Self;
}
Expand description
A trait for giving a type a useful default value.
Sometimes, you want to fall back to some kind of default value, and
don’t particularly care what it is. This comes up often with struct
s
that define a set of options:
struct SomeOptions {
foo: i32,
bar: f32,
}
How can we define some default values? You can use Default
:
#[derive(Default)]
struct SomeOptions {
foo: i32,
bar: f32,
}
fn main() {
let options: SomeOptions = Default::default();
}
Now, you get all of the default values. Rust implements Default
for various primitives types.
If you want to override a particular option, but still retain the other defaults:
fn main() {
let options = SomeOptions { foo: 42, ..Default::default() };
}
Derivable
This trait can be used with #[derive]
if all of the type’s fields implement
Default
. When derive
d, it will use the default value for each field’s type.
enum
s
When using #[derive(Default)]
on an enum
, you need to choose which unit variant will be
default. You do this by placing the #[default]
attribute on the variant.
#[derive(Default)]
enum Kind {
#[default]
A,
B,
C,
}
You cannot use the #[default]
attribute on non-unit or non-exhaustive variants.
How can I implement Default
?
Provide an implementation for the default()
method that returns the value of
your type that should be the default:
enum Kind {
A,
B,
C,
}
impl Default for Kind {
fn default() -> Self { Kind::A }
}
Examples
#[derive(Default)]
struct SomeOptions {
foo: i32,
bar: f32,
}
Required Methods§
sourcefn default() -> Self
fn default() -> Self
Returns the “default value” for a type.
Default values are often some kind of initial value, identity value, or anything else that may make sense as a default.
Examples
Using built-in default values:
let i: i8 = Default::default();
let (x, y): (Option<String>, f64) = Default::default();
let (a, b, (c, d)): (i32, u32, (bool, bool)) = Default::default();
Making your own:
enum Kind {
A,
B,
C,
}
impl Default for Kind {
fn default() -> Self { Kind::A }
}
Object Safety§
Implementors§
impl Default for &str
impl Default for &CStr
impl Default for &OsStr
impl Default for &mut str
impl Default for BorderAlignment
impl Default for BorderStyle
impl Default for Fill
impl Default for TextOverflow
impl Default for OverflowMode
impl Default for ShadowPosition
impl Default for Code
impl Default for freya::events::Key
impl Default for AccordionStatus
impl Default for freya::prelude::Alignment
impl Default for ButtonStatus
impl Default for CursorIcon
impl Default for DirectionMode
impl Default for DropdownItemStatus
impl Default for DropdownStatus
impl Default for Ease
impl Default for EditableMode
impl Default for Function
impl Default for InputMode
impl Default for InputStatus
impl Default for OrderDirection
impl Default for Position
impl Default for ScrollThumbState
impl Default for freya::prelude::Size
impl Default for SliderStatus
impl Default for SwitchStatus
impl Default for IpNet
impl Default for Value
The default value is Value::Null
.
This is useful for handling omitted Value
fields when deserializing.
Examples
use serde_json::Value;
#[derive(Deserialize)]
struct Settings {
level: i32,
#[serde(default)]
extras: Value,
}
let data = r#" { "level": 42 } "#;
let s: Settings = serde_json::from_str(data)?;
assert_eq!(s.level, 42);
assert_eq!(s.extras, Value::Null);
impl Default for PathArguments
impl Default for bool
impl Default for char
impl Default for f32
impl Default for f64
impl Default for i8
impl Default for i16
impl Default for i32
impl Default for i64
impl Default for i128
impl Default for isize
impl Default for u8
impl Default for u16
impl Default for u32
impl Default for u64
impl Default for u128
impl Default for ()
impl Default for usize
impl Default for NodesState
impl Default for Layers
impl Default for Viewports
impl Default for PluginsManager
impl Default for FreyaDOM
impl Default for AccessibilityNodeState
impl Default for CursorSettings
impl Default for FontStyleState
impl Default for LayoutState
impl Default for References
impl Default for freya_node_state::style::Style
impl Default for freya_node_state::transform::Transform
impl Default for Border
impl Default for CornerRadius
impl Default for GradientStop
impl Default for LinearGradient
impl Default for Shadow
impl Default for TestingDOM
impl Default for NodeReferenceLayout
impl Default for freya::events::Modifiers
impl Default for PerformanceOverlayPlugin
impl Default for Global
impl Default for alloc::boxed::Box<str>
impl Default for alloc::boxed::Box<CStr>
impl Default for alloc::boxed::Box<OsStr>
impl Default for CString
impl Default for String
impl Default for core::fmt::Error
impl Default for SipHasher
impl Default for PhantomPinned
impl Default for RangeFull
impl Default for core::ptr::alignment::Alignment
Returns Alignment::MIN
, which is valid for any type.
impl Default for AtomicBool
impl Default for AtomicI8
impl Default for AtomicI16
impl Default for AtomicI32
impl Default for AtomicI64
impl Default for AtomicIsize
impl Default for AtomicU8
impl Default for AtomicU16
impl Default for AtomicU32
impl Default for AtomicU64
impl Default for AtomicUsize
impl Default for Duration
impl Default for proc_macro::TokenStream
impl Default for System
impl Default for OsString
impl Default for FileTimes
impl Default for DefaultHasher
impl Default for std::hash::random::RandomState
impl Default for std::io::util::Empty
impl Default for Sink
impl Default for PathBuf
impl Default for ExitCode
The default value is ExitCode::SUCCESS
impl Default for ExitStatus
The default value is one which indicates successful completion.
impl Default for std::sync::condvar::Condvar
impl Default for DateTime<FixedOffset>
impl Default for DateTime<Local>
impl Default for DateTime<Utc>
impl Default for Parsed
impl Default for NaiveDate
The default value for a NaiveDate is 1st of January 1970.
Example
use chrono::NaiveDate;
let default_date = NaiveDate::default();
assert_eq!(default_date, NaiveDate::from_ymd_opt(1970, 1, 1).unwrap());
impl Default for NaiveDateTime
The default value for a NaiveDateTime is one with epoch 0 that is, 1st of January 1970 at 00:00:00.
Example
use chrono::NaiveDateTime;
let default_date = NaiveDateTime::default();
assert_eq!(Some(default_date), NaiveDateTime::from_timestamp_opt(0, 0));
impl Default for NaiveTime
The default value for a NaiveTime is midnight, 00:00:00 exactly.
Example
use chrono::NaiveTime;
let default_time = NaiveTime::default();
assert_eq!(default_time, NaiveTime::from_hms_opt(0, 0, 0).unwrap());
impl Default for TimeDelta
impl Default for FixedBitSet
impl Default for Crc
impl Default for GzBuilder
impl Default for GzHeader
impl Default for flate2::Compression
impl Default for h2::client::Builder
impl Default for h2::server::Builder
impl Default for bf16
impl Default for f16
impl Default for SizeHint
impl Default for Extensions
impl Default for Method
impl Default for http::request::Builder
impl Default for http::response::Builder
impl Default for StatusCode
impl Default for http::uri::builder::Builder
impl Default for Parts
impl Default for Uri
Returns a Uri
representing /
impl Default for http::version::Version
impl Default for Ipv4Net
impl Default for Ipv6Net
impl Default for itoa::Buffer
impl Default for Sha1
impl Default for Sha224
impl Default for Sha256
impl Default for Sha384
impl Default for Sha512
impl Default for AuthorityKeyIdentifier
impl Default for BasicConstraints
impl Default for ExtendedKeyUsage
impl Default for KeyUsage
impl Default for SubjectAlternativeName
impl Default for SubjectKeyIdentifier
impl Default for petgraph::visit::dfsvisit::Time
impl Default for proc_macro2::TokenStream
TokenStream::default()
returns an empty stream,
i.e. this is equivalent with TokenStream::new()
.
impl Default for ryu::buffer::Buffer
impl Default for BuildMetadata
impl Default for Prerelease
impl Default for VersionReq
The default VersionReq is the same as VersionReq::STAR
.
impl Default for IgnoredAny
impl Default for serde_json::map::Map<String, Value>
impl Default for BoundLifetimes
impl Default for Generics
impl Default for Abstract
impl Default for And
impl Default for AndAnd
impl Default for AndEq
impl Default for As
impl Default for Async
impl Default for At
impl Default for Auto
impl Default for Await
impl Default for Become
impl Default for syn::token::Box
impl Default for Brace
impl Default for Bracket
impl Default for Break
impl Default for Caret
impl Default for CaretEq
impl Default for Colon
impl Default for Comma
impl Default for syn::token::Const
impl Default for Continue
impl Default for Crate
impl Default for Default
impl Default for Do
impl Default for Dollar
impl Default for Dot
impl Default for DotDot
impl Default for DotDotDot
impl Default for DotDotEq
impl Default for Dyn
impl Default for Else
impl Default for Enum
impl Default for Eq
impl Default for EqEq
impl Default for Extern
impl Default for FatArrow
impl Default for Final
impl Default for Fn
impl Default for For
impl Default for Ge
impl Default for syn::token::Group
impl Default for Gt
impl Default for If
impl Default for Impl
impl Default for In
impl Default for LArrow
impl Default for Le
impl Default for Let
impl Default for Loop
impl Default for Lt
impl Default for Macro
impl Default for Match
impl Default for Minus
impl Default for MinusEq
impl Default for Mod
impl Default for Move
impl Default for Mut
impl Default for Ne
impl Default for Not
impl Default for Or
impl Default for OrEq
impl Default for OrOr
impl Default for syn::token::Override
impl Default for Paren
impl Default for PathSep
impl Default for Percent
impl Default for PercentEq
impl Default for Plus
impl Default for PlusEq
impl Default for Pound
impl Default for Priv
impl Default for Pub
impl Default for Question
impl Default for RArrow
impl Default for Ref
impl Default for Return
impl Default for SelfType
impl Default for SelfValue
impl Default for Semi
impl Default for Shl
impl Default for ShlEq
impl Default for Shr
impl Default for ShrEq
impl Default for Slash
impl Default for SlashEq
impl Default for Star
impl Default for StarEq
impl Default for Static
impl Default for Struct
impl Default for Super
impl Default for Tilde
impl Default for Trait
impl Default for Try
impl Default for Type
impl Default for Typeof
impl Default for Underscore
impl Default for Union
impl Default for Unsafe
impl Default for Unsized
impl Default for Use
impl Default for Virtual
impl Default for Where
impl Default for While
impl Default for Yield
impl Default for B0
impl Default for B1
impl Default for Z0
impl Default for Equal
impl Default for Greater
impl Default for Less
impl Default for UTerm
impl Default for Braced
impl Default for Hyphenated
impl Default for Simple
impl Default for Urn
impl Default for Uuid
impl Default for NoContext
impl Default for ThreadRng
impl Default for OsRng
impl Default for AbsolutePosition
impl Default for AccordionThemeWith
impl Default for BodyThemeWith
impl Default for ButtonThemeWith
impl Default for CanvasThemeWith
impl Default for Context
impl Default for DropdownItemThemeWith
impl Default for DropdownThemeWith
impl Default for EditorHistory
impl Default for ErrorBoundary
impl Default for FontThemeWith
impl Default for Gaps
impl Default for GraphThemeWith
impl Default for IconThemeWith
impl Default for InputThemeWith
impl Default for LinkThemeWith
impl Default for LoaderThemeWith
impl Default for NetworkImageThemeWith
impl Default for Node
impl Default for NodeAreas
impl Default for PopupThemeWith
impl Default for ProgressBarThemeWith
impl Default for ReactiveContext
impl Default for Rope
impl Default for ScrollBarThemeWith
impl Default for ScrollViewThemeWith
impl Default for SidebarItemThemeWith
impl Default for SidebarThemeWith
impl Default for SliderThemeWith
impl Default for SwitchThemeWith
impl Default for SyncStorage
impl Default for TableThemeWith
impl Default for TextCursor
impl Default for TextEvent
impl Default for Theme
impl Default for TooltipThemeWith
impl Default for UniformsBuilder
impl Default for UnsyncStorage
impl Default for AHasher
Provides a default Hasher with fixed keys. This is typically used in conjunction with BuildHasherDefault to create [AHasher]s in order to hash the keys of the map.
Generally it is preferable to use [RandomState] instead, so that different hashmaps will have different keys. However if fixed keys are desireable this may be used instead.
Example
use std::hash::BuildHasherDefault;
use ahash::{AHasher, RandomState};
use std::collections::HashMap;
let mut map: HashMap<i32, i32, BuildHasherDefault<AHasher>> = HashMap::default();
map.insert(12, 34);
impl Default for AHasher
Provides a default Hasher with fixed keys. This is typically used in conjunction with BuildHasherDefault to create [AHasher]s in order to hash the keys of the map.
Generally it is preferable to use [RandomState] instead, so that different hashmaps will have different keys. However if fixed keys are desirable this may be used instead.
Example
use std::hash::BuildHasherDefault;
use ahash::{AHasher, RandomState};
use std::collections::HashMap;
let mut map: HashMap<i32, i32, BuildHasherDefault<AHasher>> = HashMap::default();
map.insert(12, 34);
impl Default for AXNDetail
impl Default for AXOption
impl Default for AbsEvent
impl Default for Acceptor
impl Default for AccessControl
impl Default for AccessControl
impl Default for AccessXNotifyEvent
impl Default for Accessible
impl Default for ActionMessageEvent
impl Default for ActionMessageFlag
impl Default for ActivateEvent
impl Default for ActiveDescendantChangedEvent
impl Default for AdaptiveFilterType
impl Default for AddAccessibleEvent
impl Default for AddMaster
impl Default for AddOutputModeRequest
impl Default for Adler32
impl Default for Affine
impl Default for AhoCorasickBuilder
impl Default for AllocColorCellsReply
impl Default for AllocColorCellsReply
impl Default for AllocColorCellsRequest
impl Default for AllocColorCellsRequest
impl Default for AllocColorPlanesReply
impl Default for AllocColorPlanesReply
impl Default for AllocColorPlanesRequest
impl Default for AllocColorPlanesRequest
impl Default for AllocColorReply
impl Default for AllocColorReply
impl Default for AllocColorRequest
impl Default for AllocColorRequest
impl Default for AllocNamedColorReply
impl Default for AllocNamedColorReply
impl Default for Allow
impl Default for Allow
impl Default for AllowDeviceEventsRequest
impl Default for AllowEventsRequest
impl Default for AllowEventsRequest
impl Default for Animcursorelt
impl Default for Animcursorelt
impl Default for AnnouncementEvent
impl Default for AnyDelimiterCodec
impl Default for ApiPreference
impl Default for ApplicationChangedEvent
impl Default for Arc
impl Default for Arc
impl Default for ArcMode
impl Default for ArcMode
impl Default for AtomEnum
impl Default for AtomEnum
impl Default for AtomicWaker
impl Default for AtomicWaker
impl Default for AttachSlave
impl Default for AttributeMask
impl Default for AttributeMaskBuilder<'_>
impl Default for AttributesChangedEvent
impl Default for AttributesChangedEvent
impl Default for AutoRepeatMode
impl Default for AutoRepeatMode
impl Default for AvailableEvent
impl Default for Axis
impl Default for AxisInfo
impl Default for AxisScroll
impl Default for BString
impl Default for BackPixmap
impl Default for BackPixmap
impl Default for BackingStore
impl Default for BackingStore
impl Default for Backoff
impl Default for BarrierDirections
impl Default for BarrierDirections
impl Default for BarrierFlags
impl Default for BarrierHitEvent
impl Default for BarrierReleasePointerInfo
impl Default for BehaviorType
impl Default for BellClass
impl Default for BellClassResult
impl Default for BellFeedbackCtl
impl Default for BellFeedbackState
impl Default for BellNotifyEvent
impl Default for BellRequest
impl Default for BellRequest
impl Default for BellRequest
impl Default for BigEndian
impl Default for Blanking
impl Default for Blanking
impl Default for BlendMode
impl Default for Block
impl Default for Blocking
impl Default for Blocking
impl Default for Body
impl Default for BoolCtrl
impl Default for BoolCtrlsHigh
impl Default for BoolCtrlsLow
impl Default for BoundsChangedEvent
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for Builder
impl Default for ButtonClass
impl Default for ButtonEvent
impl Default for ButtonIndex
impl Default for ButtonIndex
impl Default for ButtonInfo
impl Default for ButtonMask
impl Default for ButtonMask
impl Default for ButtonPressEvent
impl Default for ButtonPressEvent
impl Default for ButtonPressEvent
impl Default for ButtonState
impl Default for ByteClasses
impl Default for Bytes
impl Default for BytesCodec
impl Default for BytesMut
impl Default for CMDetail
impl Default for CP
impl Default for CP
impl Default for CW
impl Default for CW
impl Default for CacheItem
impl Default for CacheProperties
impl Default for CallBody
impl Default for Camera3D
impl Default for CancellationToken
impl Default for CapStyle
impl Default for CapStyle
impl Default for CertificateChain
impl Default for ChangeActivePointerGrabRequest
impl Default for ChangeActivePointerGrabRequest
impl Default for ChangeCursorRequest
impl Default for ChangeCursorRequest
impl Default for ChangeDevice
impl Default for ChangeDeviceControlReply
impl Default for ChangeDeviceNotifyEvent
impl Default for ChangeFeedbackControlMask
impl Default for ChangeGCAux
impl Default for ChangeGCAux
impl Default for ChangeKeyboardControlAux
impl Default for ChangeKeyboardControlAux
impl Default for ChangeKeyboardDeviceReply
impl Default for ChangeKeyboardDeviceRequest
impl Default for ChangeMode
impl Default for ChangePictureAux
impl Default for ChangePictureAux
impl Default for ChangePointerControlRequest
impl Default for ChangePointerControlRequest
impl Default for ChangePointerDeviceReply
impl Default for ChangePointerDeviceRequest
impl Default for ChangeReason
impl Default for ChangeSaveSetRequest
impl Default for ChangeSaveSetRequest
impl Default for ChangeSaveSetRequest
impl Default for ChangeSaveSetRequest
impl Default for ChangeWindowAttributesAux
impl Default for ChangeWindowAttributesAux
impl Default for Channels
impl Default for Char2b
impl Default for Char2b
impl Default for CharWidthChangedEvent
impl Default for Charinfo
impl Default for Charinfo
impl Default for ChildrenChangedEvent
impl Default for Circulate
impl Default for Circulate
impl Default for CirculateNotifyEvent
impl Default for CirculateNotifyEvent
impl Default for CirculateWindowRequest
impl Default for CirculateWindowRequest
impl Default for ClassBytesRange
impl Default for ClassUnicodeRange
impl Default for ClassesReportedMask
impl Default for ClearAreaRequest
impl Default for ClearAreaRequest
impl Default for Client
impl Default for Client<HttpConnector>
impl Default for ClientBuilder
impl Default for ClientDisconnectFlags
impl Default for ClientMessageData
impl Default for ClipOrdering
impl Default for ClipOrdering
impl Default for CloseDeviceRequest
impl Default for CloseDown
impl Default for CloseDown
impl Default for CloseEvent
impl Default for CloseFontRequest
impl Default for CloseFontRequest
impl Default for Cmd
impl Default for Collector
impl Default for Color
impl Default for Color
impl Default for Color
impl Default for ColorFlag
impl Default for ColorFlag
impl Default for ColorSpace
impl Default for ColorTheme
impl Default for Coloritem
impl Default for Coloritem
impl Default for ColormapAlloc
impl Default for ColormapAlloc
impl Default for ColormapEnum
impl Default for ColormapEnum
impl Default for ColormapNotifyEvent
impl Default for ColormapNotifyEvent
impl Default for ColormapState
impl Default for ColormapState
impl Default for ColumnCountChangedEvent
impl Default for ColumnDeletedEvent
impl Default for ColumnInsertedEvent
impl Default for ColumnReorderedEvent
impl Default for CombineRequest
impl Default for CombineRequest
impl Default for CommonBehavior
impl Default for CompatMapNotifyEvent
impl Default for CompositeRequest
impl Default for CompositeRequest
impl Default for Compression
impl Default for CompressionType
impl Default for Compressor
impl Default for CompressorOxide
impl Default for Condvar
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
impl Default for Config
The defaults are that of https://url.spec.whatwg.org/#idna
impl Default for ConfigTemplate
impl Default for ConfigTemplateBuilder
impl Default for ConfigWindow
impl Default for ConfigWindow
impl Default for Configuration
impl Default for ConfigureNotifyEvent
impl Default for ConfigureNotifyEvent
impl Default for ConfigureRequestEvent
impl Default for ConfigureRequestEvent
impl Default for ConfigureWindowAux
impl Default for ConfigureWindowAux
impl Default for Connection
impl Default for Connection
impl Default for ConnectionCredentials
impl Default for Const
impl Default for ContentChangedEvent
impl Default for ContextApi
impl Default for ContextAttributes
impl Default for ContextAttributesBuilder
impl Default for ContextOptions
impl Default for Control
impl Default for ControlFlow
impl Default for ControlsNotifyEvent
impl Default for ConvertSelectionRequest
impl Default for ConvertSelectionRequest
impl Default for CoordMode
impl Default for CoordMode
impl Default for Coordinate
impl Default for CopyAreaRequest
impl Default for CopyAreaRequest
impl Default for CopyColormapAndFreeRequest
impl Default for CopyColormapAndFreeRequest
impl Default for CopyGCRequest
impl Default for CopyGCRequest
impl Default for CopyPlaneRequest
impl Default for CopyPlaneRequest
impl Default for CopyRegionRequest
impl Default for CopyRegionRequest
impl Default for CountedString16
impl Default for CpuSet
impl Default for CpuSet
impl Default for CreateColormapRequest
impl Default for CreateColormapRequest
impl Default for CreateCursorRequest
impl Default for CreateCursorRequest
impl Default for CreateCursorRequest
impl Default for CreateCursorRequest
impl Default for CreateEvent
impl Default for CreateGCAux
impl Default for CreateGCAux
impl Default for CreateGlyphCursorRequest
impl Default for CreateGlyphCursorRequest
impl Default for CreateGlyphSetRequest
impl Default for CreateGlyphSetRequest
impl Default for CreateModeReply
impl Default for CreateNotifyEvent
impl Default for CreateNotifyEvent
impl Default for CreatePictureAux
impl Default for CreatePictureAux
impl Default for CreatePixmapRequest
impl Default for CreatePixmapRequest
impl Default for CreateRegionFromBitmapRequest
impl Default for CreateRegionFromBitmapRequest
impl Default for CreateRegionFromGCRequest
impl Default for CreateRegionFromGCRequest
impl Default for CreateRegionFromPictureRequest
impl Default for CreateRegionFromPictureRequest
impl Default for CreateRegionFromWindowRequest
impl Default for CreateRegionFromWindowRequest
impl Default for CreateSolidFillRequest
impl Default for CreateSolidFillRequest
impl Default for CreateWindowAux
impl Default for CreateWindowAux
impl Default for CropRect
impl Default for CrtcChange
impl Default for CubicCoeff
impl Default for Cursor
impl Default for CursorEnum
impl Default for CursorEnum
impl Default for CursorNotify
impl Default for CursorNotify
impl Default for CursorNotifyEvent
impl Default for CursorNotifyEvent
impl Default for CursorNotifyMask
impl Default for CursorNotifyMask
impl Default for DataDeviceOfferInner
impl Default for DataOfferData
impl Default for DataSourceData
impl Default for Database
impl Default for DeactivateEvent
impl Default for DecodeOptions
impl Default for DecodeOptions
impl Default for Decompressor
impl Default for DecompressorOxide
impl Default for Decoration
impl Default for DedupedLabels
impl Default for DefaultBehavior
impl Default for Deflate
impl Default for DeflateLevel
impl Default for DeflateOptions
impl Default for DeframerVecBuffer
impl Default for DeleteDevicePropertyRequest
impl Default for DeleteMonitorRequest
impl Default for DeleteOutputModeRequest
impl Default for DeleteOutputPropertyRequest
impl Default for DeletePointerBarrierRequest
impl Default for DeletePointerBarrierRequest
impl Default for DeletePropertyRequest
impl Default for DeletePropertyRequest
impl Default for DeleteProviderPropertyRequest
impl Default for Dependants
impl Default for DependencyKind
impl Default for Depth
impl Default for Depth
impl Default for DesktopCreateEvent
impl Default for DesktopDestroyEvent
impl Default for DestroyEvent
impl Default for DestroyModeRequest
impl Default for DestroyNotifyEvent
impl Default for DestroyNotifyEvent
impl Default for DestroyRegionRequest
impl Default for DestroyRegionRequest
impl Default for DestroySubwindowsRequest
impl Default for DestroySubwindowsRequest
impl Default for DestroyWindowRequest
impl Default for DestroyWindowRequest
impl Default for DetachSlave
impl Default for Device
impl Default for DeviceAbsAreaCtrl
impl Default for DeviceAbsAreaState
impl Default for DeviceAbsCalibCtl
impl Default for DeviceAbsCalibState
impl Default for DeviceBellRequest
impl Default for DeviceButtonStateNotifyEvent
impl Default for DeviceChange
impl Default for DeviceClassType
impl Default for DeviceControl
impl Default for DeviceCoreCtrl
impl Default for DeviceCoreState
impl Default for DeviceEnableCtrl
impl Default for DeviceEnableState
impl Default for DeviceEvents
impl Default for DeviceFocusInEvent
impl Default for DeviceInfo
impl Default for DeviceInputMode
impl Default for DeviceKeyPressEvent
impl Default for DeviceKeyStateNotifyEvent
impl Default for DeviceLedInfo
impl Default for DeviceMappingNotifyEvent
impl Default for DeviceName
impl Default for DevicePresenceNotifyEvent
impl Default for DevicePropertyNotifyEvent
impl Default for DeviceResolutionCtl
impl Default for DeviceResolutionState
impl Default for DeviceStateNotifyEvent
impl Default for DeviceTimeCoord
impl Default for DeviceType
impl Default for DeviceUse
impl Default for DeviceValuatorEvent
impl Default for DirBuilder
impl Default for Directformat
impl Default for Directformat
impl Default for Dispatch
impl Default for DisplayBuilder
impl Default for DmabufFeedback
impl Default for DmabufFeedbackTranche
impl Default for DoodadType
impl Default for Dqblk
impl Default for DynamicImage
impl Default for DynamicNode
impl Default for Eager
impl Default for Edition
impl Default for ElementId
impl Default for EnableReply
impl Default for EnableReply
impl Default for EnableRequest
impl Default for EnableRequest
impl Default for EncodedOrigin
impl Default for Encoding
impl Default for EncodingFormat
impl Default for EnterEvent
impl Default for EnterNotifyEvent
impl Default for EnterNotifyEvent
impl Default for EntityId
Allows [EntityId
] to be stored in collections requiring Default
, like TinyVec
.
impl Default for Error
impl Default for Errors
impl Default for Event
impl Default for Event
impl Default for Event
impl Default for Event
impl Default for EventAttributes
impl Default for EventBodyOwned
impl Default for EventBodyQT
impl Default for EventFlags
impl Default for EventFlags
impl Default for EventKind
impl Default for EventListenerDeregisteredEvent
impl Default for EventListenerRegisteredEvent
impl Default for EventListeners
impl Default for EventMask
impl Default for EventMask
impl Default for EventMask
impl Default for EventMode
impl Default for EventType
impl Default for Events
impl Default for ExpandRegionRequest
impl Default for ExpandRegionRequest
impl Default for Explicit
impl Default for ExposeEvent
impl Default for ExposeEvent
impl Default for Exposures
impl Default for Exposures
impl Default for ExtensionDeviceNotifyEvent
impl Default for ExtensionManager
impl Default for ExtensionManager
impl Default for ExtractKind
impl Default for Extractor
impl Default for Family
impl Default for Family
impl Default for FdSet
impl Default for FeedbackClass
impl Default for FetchRegionReply
impl Default for FetchRegionReply
impl Default for FetchRegionRequest
impl Default for FetchRegionRequest
impl Default for FillRule
impl Default for FillRule
impl Default for FillRule
impl Default for FillStyle
impl Default for FillStyle
impl Default for FilterType
impl Default for FilterType
impl Default for FinderBuilder
impl Default for FiniteF32
impl Default for FiniteF64
impl Default for Flags
impl Default for Flags
impl Default for Flags
impl Default for FlushInfo
impl Default for FnvHasher
impl Default for FocusEvent
impl Default for FocusInEvent
impl Default for FocusInEvent
impl Default for FontArguments<'_, '_>
impl Default for FontDraw
impl Default for FontDraw
impl Default for FontEnum
impl Default for FontEnum
impl Default for FontMetrics
impl Default for FontStyle
impl Default for Fontprop
impl Default for Fontprop
impl Default for ForceScreenSaverRequest
impl Default for ForceScreenSaverRequest
impl Default for Format
impl Default for Format
impl Default for FourByteTag
impl Default for Fp3232
impl Default for Frame
impl Default for FrameControl
impl Default for FrameInfo
impl Default for FramebufferInfo
impl Default for FreeColormapRequest
impl Default for FreeColormapRequest
impl Default for FreeCursorRequest
impl Default for FreeCursorRequest
impl Default for FreeGCRequest
impl Default for FreeGCRequest
impl Default for FreeGlyphSetRequest
impl Default for FreeGlyphSetRequest
impl Default for FreeLeaseRequest
impl Default for FreePictureRequest
impl Default for FreePictureRequest
impl Default for FreePixmapRequest
impl Default for FreePixmapRequest
impl Default for FsFlags
impl Default for FxHasher
impl Default for GBNDetail
impl Default for GC
impl Default for GC
impl Default for GX
impl Default for GX
impl Default for GeGenericEvent
impl Default for GeGenericEvent
impl Default for GeneralPurposeConfig
impl Default for GestureClass
impl Default for GesturePinchBeginEvent
impl Default for GesturePinchEventFlags
impl Default for GestureSwipeBeginEvent
impl Default for GestureSwipeEventFlags
impl Default for GetAtomNameReply
impl Default for GetAtomNameReply
impl Default for GetAtomNameRequest
impl Default for GetAtomNameRequest
impl Default for GetClientDisconnectModeReply
impl Default for GetClientDisconnectModeRequest
impl Default for GetCompatMapReply
impl Default for GetCompatMapRequest
impl Default for GetControlsReply
impl Default for GetControlsRequest
impl Default for GetCrtcGammaReply
impl Default for GetCrtcGammaRequest
impl Default for GetCrtcGammaSizeReply
impl Default for GetCrtcGammaSizeRequest
impl Default for GetCrtcInfoReply
impl Default for GetCrtcInfoRequest
impl Default for GetCrtcTransformReply
impl Default for GetCrtcTransformRequest
impl Default for GetCursorImageAndNameReply
impl Default for GetCursorImageAndNameReply
impl Default for GetCursorImageAndNameRequest
impl Default for GetCursorImageAndNameRequest
impl Default for GetCursorImageReply
impl Default for GetCursorImageReply
impl Default for GetCursorImageRequest
impl Default for GetCursorImageRequest
impl Default for GetCursorNameReply
impl Default for GetCursorNameReply
impl Default for GetCursorNameRequest
impl Default for GetCursorNameRequest
impl Default for GetDeviceButtonMappingReply
impl Default for GetDeviceButtonMappingRequest
impl Default for GetDeviceControlRequest
impl Default for GetDeviceDontPropagateListReply
impl Default for GetDeviceDontPropagateListRequest
impl Default for GetDeviceFocusReply
impl Default for GetDeviceFocusRequest
impl Default for GetDeviceInfoRequest
impl Default for GetDeviceKeyMappingReply
impl Default for GetDeviceKeyMappingRequest
impl Default for GetDeviceModifierMappingReply
impl Default for GetDeviceModifierMappingRequest
impl Default for GetDeviceMotionEventsReply
impl Default for GetDeviceMotionEventsRequest
impl Default for GetDevicePropertyRequest
impl Default for GetExtensionVersionReply
impl Default for GetFeedbackControlRequest
impl Default for GetFontPathReply
impl Default for GetFontPathReply
impl Default for GetFontPathRequest
impl Default for GetFontPathRequest
impl Default for GetGeometryReply
impl Default for GetGeometryReply
impl Default for GetGeometryRequest
impl Default for GetGeometryRequest
impl Default for GetImageReply
impl Default for GetImageReply
impl Default for GetImageRequest
impl Default for GetImageRequest
impl Default for GetIndicatorMapReply
impl Default for GetIndicatorMapRequest
impl Default for GetIndicatorStateReply
impl Default for GetIndicatorStateRequest
impl Default for GetInputFocusReply
impl Default for GetInputFocusReply
impl Default for GetInputFocusRequest
impl Default for GetInputFocusRequest
impl Default for GetKbdByNameReplies
impl Default for GetKbdByNameRepliesKeyNamesValueList
impl Default for GetKbdByNameRepliesTypesMap
impl Default for GetKbdByNameRequest
impl Default for GetKeyboardControlReply
impl Default for GetKeyboardControlReply
impl Default for GetKeyboardControlRequest
impl Default for GetKeyboardControlRequest
impl Default for GetKeyboardMappingReply
impl Default for GetKeyboardMappingReply
impl Default for GetKeyboardMappingRequest
impl Default for GetKeyboardMappingRequest
impl Default for GetMapMap
impl Default for GetMapRequest
impl Default for GetModifierMappingReply
impl Default for GetModifierMappingReply
impl Default for GetModifierMappingRequest
impl Default for GetModifierMappingRequest
impl Default for GetMonitorsReply
impl Default for GetMonitorsRequest
impl Default for GetMotionEventsReply
impl Default for GetMotionEventsReply
impl Default for GetMotionEventsRequest
impl Default for GetMotionEventsRequest
impl Default for GetNamedIndicatorReply
impl Default for GetNamedIndicatorRequest
impl Default for GetNamesReply
impl Default for GetNamesRequest
impl Default for GetNamesValueList
impl Default for GetOutputInfoReply
impl Default for GetOutputInfoRequest
impl Default for GetOutputPrimaryReply
impl Default for GetOutputPrimaryRequest
impl Default for GetOutputPropertyReply
impl Default for GetOutputPropertyRequest
impl Default for GetPanningReply
impl Default for GetPanningRequest
impl Default for GetPointerControlReply
impl Default for GetPointerControlReply
impl Default for GetPointerControlRequest
impl Default for GetPointerControlRequest
impl Default for GetPointerMappingReply
impl Default for GetPointerMappingReply
impl Default for GetPointerMappingRequest
impl Default for GetPointerMappingRequest
impl Default for GetPropertyReply
impl Default for GetPropertyReply
impl Default for GetPropertyRequest
impl Default for GetPropertyRequest
impl Default for GetPropertyType
impl Default for GetPropertyType
impl Default for GetProviderInfoReply
impl Default for GetProviderInfoRequest
impl Default for GetProviderPropertyReply
impl Default for GetProviderPropertyRequest
impl Default for GetProvidersReply
impl Default for GetProvidersRequest
impl Default for GetRectanglesReply
impl Default for GetRectanglesReply
impl Default for GetRectanglesRequest
impl Default for GetRectanglesRequest
impl Default for GetScreenInfoReply
impl Default for GetScreenInfoRequest
impl Default for GetScreenResourcesCurrentReply
impl Default for GetScreenResourcesCurrentRequest
impl Default for GetScreenResourcesReply
impl Default for GetScreenResourcesRequest
impl Default for GetScreenSaverReply
impl Default for GetScreenSaverReply
impl Default for GetScreenSaverRequest
impl Default for GetScreenSaverRequest
impl Default for GetScreenSizeRangeReply
impl Default for GetScreenSizeRangeRequest
impl Default for GetSelectedExtensionEventsReply
impl Default for GetSelectedExtensionEventsRequest
impl Default for GetSelectionOwnerReply
impl Default for GetSelectionOwnerReply
impl Default for GetSelectionOwnerRequest
impl Default for GetSelectionOwnerRequest
impl Default for GetStateReply
impl Default for GetStateRequest
impl Default for GetVersionReply
impl Default for GetVersionReply
impl Default for GetVersionRequest
impl Default for GetVersionRequest
impl Default for GetWindowAttributesReply
impl Default for GetWindowAttributesReply
impl Default for GetWindowAttributesRequest
impl Default for GetWindowAttributesRequest
impl Default for GetXIDListReply
impl Default for GetXIDListReply
impl Default for GetXIDListRequest
impl Default for GetXIDListRequest
impl Default for GetXIDRangeReply
impl Default for GetXIDRangeReply
impl Default for GetXIDRangeRequest
impl Default for GetXIDRangeRequest
impl Default for GlobSet
impl Default for GlyphId
impl Default for GlyphId
impl Default for Glyphinfo
impl Default for Glyphinfo
impl Default for Grab
impl Default for Grab
impl Default for GrabButtonRequest
impl Default for GrabButtonRequest
impl Default for GrabDeviceReply
impl Default for GrabKeyRequest
impl Default for GrabKeyRequest
impl Default for GrabKeyboardReply
impl Default for GrabKeyboardReply
impl Default for GrabKeyboardRequest
impl Default for GrabKeyboardRequest
impl Default for GrabMode
impl Default for GrabMode
impl Default for GrabMode22
impl Default for GrabModifierInfo
impl Default for GrabOwner
impl Default for GrabPointerReply
impl Default for GrabPointerReply
impl Default for GrabPointerRequest
impl Default for GrabPointerRequest
impl Default for GrabServerRequest
impl Default for GrabServerRequest
impl Default for GrabStatus
impl Default for GrabStatus
impl Default for GrabType
impl Default for GraphicsExposureEvent
impl Default for GraphicsExposureEvent
impl Default for Gravity
impl Default for Gravity
impl Default for GravityNotifyEvent
impl Default for GravityNotifyEvent
impl Default for Group
impl Default for GroupInfo
impl Default for GroupInfo
impl Default for Groups
impl Default for GroupsWrap
impl Default for Handle<SkBitmap>
impl Default for Handle<SkColorInfo>
impl Default for Handle<SkColorMatrix>
impl Default for Handle<SkFont>
impl Default for Handle<SkImageInfo>
impl Default for Handle<SkOpBuilder>
impl Default for Handle<SkPDF_AttributeList>
impl Default for Handle<SkPDF_Metadata>
impl Default for Handle<SkPaint>
impl Default for Handle<SkPath>
impl Default for Handle<SkPathMeasure>
impl Default for Handle<SkString>
impl Default for Handle<SkYUVAInfo>
impl Default for Handle<SkYUVAPixmapInfo_SupportedDataTypes>
impl Default for Handle<skia_textlayout_StrutStyle>
impl Default for Handle<skia_textlayout_TextStyle>
impl Default for Hasher
impl Default for Header
impl Default for HideCursorRequest
impl Default for HideCursorRequest
impl Default for HierarchyChangeType
impl Default for HierarchyEvent
impl Default for HierarchyInfo
impl Default for HierarchyMask
impl Default for HighContrastConfig
impl Default for Host
impl Default for Host
impl Default for HostMode
impl Default for HostMode
impl Default for HpkeAead
impl Default for HpkeKdf
impl Default for HpkeSymmetricCipherSuite
impl Default for ID
impl Default for IMFlag
impl Default for IMGroupsWhich
impl Default for IMModsWhich
impl Default for IPoint
impl Default for IRect
impl Default for ISize
impl Default for Idna
impl Default for IfmtInput
impl Default for ImageFormat
impl Default for ImageFormat
impl Default for ImageOrder
impl Default for ImageOrder
impl Default for ImePurpose
impl Default for Indexvalue
impl Default for Indexvalue
impl Default for IndicatorMap
impl Default for IndicatorMapNotifyEvent
impl Default for IndicatorStateNotifyEvent
impl Default for InflateState
impl Default for Info<'_>
impl Default for InputClass
impl Default for InputClassInfo
impl Default for InputFocus
impl Default for InputFocus
impl Default for InputSelectedReply
impl Default for InputSelectedReply
impl Default for InputSelectedRequest
impl Default for InputSelectedRequest
impl Default for InstallColormapRequest
impl Default for InstallColormapRequest
impl Default for IntegerBounds
impl Default for IntegerFeedbackCtl
impl Default for IntegerFeedbackState
impl Default for InternAtomReply
impl Default for InternAtomReply
impl Default for IntersectRegionRequest
impl Default for IntersectRegionRequest
impl Default for InvalidBufferSize
impl Default for InvalidOutputSize
impl Default for InvertRegionRequest
impl Default for InvertRegionRequest
impl Default for Iter<'_>
impl Default for Iv
impl Default for JoinStyle
impl Default for JoinStyle
impl Default for KB
impl Default for KB
impl Default for KTMapEntry
impl Default for KTSetMapEntry
impl Default for KbdFeedbackCtl
impl Default for KbdFeedbackState
impl Default for Key
impl Default for KeyAlias
impl Default for KeyButMask
impl Default for KeyButMask
impl Default for KeyClass
impl Default for KeyCode
impl Default for KeyEventFlags
impl Default for KeyInfo
impl Default for KeyInputState
impl Default for KeyModMap
impl Default for KeyName
impl Default for KeyPressEvent
impl Default for KeyPressEvent
impl Default for KeyPressEvent
impl Default for KeyState
impl Default for KeyState
impl Default for KeySymMap
impl Default for KeyType
impl Default for KeyVModMap
impl Default for KeyboardEvent
impl Default for KeyboardInteractivity
impl Default for KeymapNotifyEvent
impl Default for KeymapNotifyEvent
impl Default for Keysym
impl Default for Kill
impl Default for Kill
impl Default for KillClientRequest
impl Default for KillClientRequest
impl Default for LatchLockStateRequest
impl Default for LayerAttributes
impl Default for Lazy
impl Default for LazyStateID
impl Default for LeaseNotify
impl Default for LedClass
impl Default for LedClassResult
impl Default for LedFeedbackCtl
impl Default for LedFeedbackState
impl Default for LedMode
impl Default for LedMode
impl Default for LegacyAddAccessibleEvent
impl Default for LegacyCacheItem
impl Default for LengthDelimitedCodec
impl Default for LimitSupport
impl Default for Limits
impl Default for Limits
impl Default for Limits
impl Default for LineCap
impl Default for LineChangedEvent
impl Default for LineCountChangedEvent
impl Default for LineJoin
impl Default for LineStyle
impl Default for LineStyle
impl Default for Linefix
impl Default for Linefix
impl Default for LinesCodec
impl Default for LinkSelectedEvent
impl Default for ListComponentsReply
impl Default for ListComponentsRequest
impl Default for ListDevicePropertiesReply
impl Default for ListDevicePropertiesRequest
impl Default for ListExtensionsReply
impl Default for ListExtensionsReply
impl Default for ListExtensionsRequest
impl Default for ListExtensionsRequest
impl Default for ListFontsReply
impl Default for ListFontsReply
impl Default for ListFontsWithInfoReply
impl Default for ListFontsWithInfoReply
impl Default for ListHostsReply
impl Default for ListHostsReply
impl Default for ListHostsRequest
impl Default for ListHostsRequest
impl Default for ListInputDevicesRequest
impl Default for ListInstalledColormapsReply
impl Default for ListInstalledColormapsReply
impl Default for ListInstalledColormapsRequest
impl Default for ListInstalledColormapsRequest
impl Default for ListOutputPropertiesReply
impl Default for ListOutputPropertiesRequest
impl Default for ListPropertiesReply
impl Default for ListPropertiesReply
impl Default for ListPropertiesRequest
impl Default for ListPropertiesRequest
impl Default for ListProviderPropertiesReply
impl Default for ListProviderPropertiesRequest
impl Default for Listing
impl Default for LittleEndian
impl Default for Live
impl Default for LoadCompleteEvent
impl Default for LoadStoppedEvent
impl Default for LocalSet
impl Default for Location
impl Default for LockDeviceFlags
impl Default for LookMatcher
impl Default for LookSet
impl Default for LookSet
impl Default for LookupColorReply
impl Default for LookupColorReply
impl Default for LowerEvent
impl Default for Lzw
impl Default for M44
impl Default for MapIndex
impl Default for MapIndex
impl Default for MapNotifyEvent
impl Default for MapNotifyEvent
impl Default for MapNotifyEvent
impl Default for MapPart
impl Default for MapRequestEvent
impl Default for MapRequestEvent
impl Default for MapState
impl Default for MapState
impl Default for MapSubwindowsRequest
impl Default for MapSubwindowsRequest
impl Default for MapWindowRequest
impl Default for MapWindowRequest
impl Default for Mapping
impl Default for Mapping
impl Default for MappingNotifyEvent
impl Default for MappingNotifyEvent
impl Default for MappingStatus
impl Default for MappingStatus
impl Default for MaskRequest
impl Default for MaskRequest
impl Default for MatchKind
impl Default for MatchKind
The default match kind is MatchKind::Standard
.
impl Default for MatchKind
impl Default for Matrix
impl Default for Matrix
impl Default for MatrixFlags
impl Default for MatrixFlags
impl Default for MaximizeEvent
impl Default for MessageDeframer
impl Default for MessageFragmenter
impl Default for MessageSequence
impl Default for Metadata
impl Default for MetadataCommand
impl Default for MinimizeEvent
impl Default for MissedTickBehavior
impl Default for MmapOptions
impl Default for MmapOptions
impl Default for ModDef
impl Default for ModMask
impl Default for ModMask
impl Default for ModeFlag
impl Default for ModeInfo
impl Default for ModelChangedEvent
impl Default for ModifierDevice
impl Default for ModifierInfo
impl Default for ModifierMask
impl Default for Modifiers
impl Default for ModifiersEvent
impl Default for ModifiersKeyState
impl Default for ModifiersState
impl Default for ModifiersState
impl Default for MonitorInfo
impl Default for MoreEventsMask
impl Default for Motion
impl Default for Motion
impl Default for MotionNotifyEvent
impl Default for MotionNotifyEvent
impl Default for MouseButton
impl Default for MoveEvent
impl Default for Mutations
impl Default for NKNDetail
impl Default for NameDetail
impl Default for NamesNotifyEvent
impl Default for NewKeyboardNotifyEvent
impl Default for NoExposureEvent
impl Default for NoExposureEvent
impl Default for NoOperationRequest
impl Default for NoOperationRequest
impl Default for NoProxy
impl Default for NoSubscriber
impl Default for NodeBuilder
impl Default for NodeClassSet
impl Default for NodeMask
impl Default for NoneMore
impl Default for NormalizedCoordinate
impl Default for NormalizedF32Exclusive
impl Default for Notify
impl Default for Notify
impl Default for NotifyDetail
impl Default for NotifyDetail
impl Default for NotifyDetail
impl Default for NotifyEvent
impl Default for NotifyEvent
impl Default for NotifyMask
impl Default for NotifyMode
impl Default for NotifyMode
impl Default for NotifyMode
impl Default for ObjectPath<'_>
impl Default for OffsetRequest
impl Default for OffsetRequest
impl Default for Once
impl Default for OnceBool
impl Default for OnceNonZeroUsize
impl Default for OpenDeviceReply
impl Default for OpenDeviceRequest
impl Default for OpenOptions
impl Default for OpenOptions
impl Default for Options
impl Default for Options
impl Default for Options
impl Default for Outline
impl Default for OutputChange
impl Default for OutputProperty
impl Default for Overlay
impl Default for OverlayBehavior
impl Default for OverlayKey
impl Default for OverlayRow
impl Default for Override
impl Default for OwnedCanvas<'_>
impl Default for OwnedObjectPath
impl Default for Packbits
impl Default for PacketReader
impl Default for PacketReader
impl Default for PageChangedEvent
impl Default for Paint<'_>
impl Default for Parker
impl Default for Parker
impl Default for ParserBuilder
impl Default for ParserBuilder
impl Default for ParserConfig
impl Default for PartialMsgWriteError
impl Default for Patch3D
impl Default for PathBuilder
impl Default for PathStroker
impl Default for PatternID
impl Default for PatternID
impl Default for PbufferSurface
impl Default for PerClientFlag
impl Default for PerClientFlagsReply
impl Default for PerClientFlagsRequest
impl Default for PictOp
impl Default for PictOp
impl Default for PictType
impl Default for PictType
impl Default for Pictdepth
impl Default for Pictdepth
impl Default for Pictforminfo
impl Default for Pictforminfo
impl Default for Pictscreen
impl Default for Pictscreen
impl Default for PictureEnum
impl Default for PictureEnum
impl Default for Pictvisual
impl Default for Pictvisual
impl Default for PixelDensity
impl Default for PixelGeometry
impl Default for Pixmap<'_>
impl Default for PixmapEnum
impl Default for PixmapEnum
impl Default for PixmapPaint
impl Default for PixmapSurface
impl Default for Place
impl Default for Place
impl Default for Placeholder
impl Default for PlaceholderAlignment
impl Default for PlaceholderStyle
impl Default for Point
impl Default for Point
impl Default for Point
impl Default for Point
impl Default for Point
impl Default for Point
impl Default for Point
impl Default for Point3
impl Default for PointerEventFlags
impl Default for Pointfix
impl Default for Pointfix
impl Default for Policy
impl Default for PollNext
impl Default for PolyEdge
impl Default for PolyEdge
impl Default for PolyMode
impl Default for PolyMode
impl Default for PolyShape
impl Default for PolyShape
impl Default for PositiveF32
impl Default for PositiveF64
impl Default for PrefilterConfig
impl Default for PrimarySelectionOfferData
impl Default for PropMode
impl Default for PropMode
impl Default for PropagateMode
impl Default for Property
impl Default for Property
impl Default for Property
impl Default for PropertyChangeEvent
impl Default for PropertyChangeEvent
impl Default for PropertyEvent
impl Default for PropertyFlag
impl Default for PropertyFormat
impl Default for PropertyNotifyEvent
impl Default for PropertyNotifyEvent
impl Default for ProviderCapability
impl Default for ProviderChange
impl Default for ProviderProperty
impl Default for PtrFeedbackCtl
impl Default for PtrFeedbackState
impl Default for QuadCoeff
impl Default for QueryBestSizeReply
impl Default for QueryBestSizeReply
impl Default for QueryBestSizeRequest
impl Default for QueryBestSizeRequest
impl Default for QueryColorsReply
impl Default for QueryColorsReply
impl Default for QueryDeviceStateRequest
impl Default for QueryExtensionReply
impl Default for QueryExtensionReply
impl Default for QueryExtentsReply
impl Default for QueryExtentsReply
impl Default for QueryExtentsRequest
impl Default for QueryExtentsRequest
impl Default for QueryFiltersReply
impl Default for QueryFiltersReply
impl Default for QueryFiltersRequest
impl Default for QueryFiltersRequest
impl Default for QueryFontReply
impl Default for QueryFontReply
impl Default for QueryFontRequest
impl Default for QueryFontRequest
impl Default for QueryKeymapReply
impl Default for QueryKeymapReply
impl Default for QueryKeymapRequest
impl Default for QueryKeymapRequest
impl Default for QueryOutputPropertyReply
impl Default for QueryOutputPropertyRequest
impl Default for QueryPictFormatsReply
impl Default for QueryPictFormatsReply
impl Default for QueryPictFormatsRequest
impl Default for QueryPictFormatsRequest
impl Default for QueryPictIndexValuesReply
impl Default for QueryPictIndexValuesReply
impl Default for QueryPictIndexValuesRequest
impl Default for QueryPictIndexValuesRequest
impl Default for QueryPointerReply
impl Default for QueryPointerReply
impl Default for QueryPointerRequest
impl Default for QueryPointerRequest
impl Default for QueryProviderPropertyReply
impl Default for QueryProviderPropertyRequest
impl Default for QueryShapeOf
impl Default for QueryShapeOf
impl Default for QueryTextExtentsReply
impl Default for QueryTextExtentsReply
impl Default for QueryTreeReply
impl Default for QueryTreeReply
impl Default for QueryTreeRequest
impl Default for QueryTreeRequest
impl Default for QueryVersionReply
impl Default for QueryVersionReply
impl Default for QueryVersionReply
impl Default for QueryVersionReply
impl Default for QueryVersionReply
impl Default for QueryVersionReply
impl Default for QueryVersionReply
impl Default for QueryVersionReply
impl Default for QueryVersionReply
impl Default for QueryVersionRequest
impl Default for QueryVersionRequest
impl Default for QueryVersionRequest
impl Default for QueryVersionRequest
impl Default for QueryVersionRequest
impl Default for QueryVersionRequest
impl Default for QueryVersionRequest
impl Default for QueryVersionRequest
impl Default for QueryVersionRequest
impl Default for QuotaValidFlags
impl Default for RCHandle<SkFontMgr>
impl Default for RCHandle<SkFontStyleSet>
impl Default for RCHandle<SkOrderedFontMgr>
impl Default for RCHandle<SkShader>
impl Default for RCHandle<skgpu_MutableTextureState>
impl Default for RCHandle<skia_textlayout_TypefaceFontProvider>
impl Default for RRect
impl Default for RadioGroupBehavior
impl Default for RaiseEvent
impl Default for RandomState
impl Default for RandomState
Creates an instance of RandomState using keys obtained from the random number generator. Each instance created in this way will have a unique set of keys. (But the resulting instance can be used to create many hashers each or which will have the same keys.)
This is the same as [RandomState::new()]
NOTE: For safety this trait impl is only available available if either of the flags runtime-rng
(on by default) or
compile-time-rng
are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of
constructors for [RandomState] must be used.
impl Default for RawButtonPressEvent
impl Default for RawIter<'_>
impl Default for RawKeyPressEvent
impl Default for RawTouchBeginEvent
impl Default for RecolorCursorRequest
impl Default for RecolorCursorRequest
impl Default for Rect
impl Default for Rect
impl Default for Rect
impl Default for Rect
impl Default for RectHeightStyle
impl Default for RectWidthStyle
impl Default for Rectangle
impl Default for Rectangle
impl Default for RefHandle<Sk3DView>
impl Default for RefHandle<SkShaper>
impl Default for RefHandle<skia_textlayout_ParagraphStyle>
impl Default for ReferenceGlyphSetRequest
impl Default for ReferenceGlyphSetRequest
impl Default for RefreshRates
impl Default for RegionEnum
impl Default for RegionEnum
impl Default for RegionExtentsRequest
impl Default for RegionExtentsRequest
impl Default for RelEvent
impl Default for ReleaseBehavior
impl Default for ReloadEvent
impl Default for RemapOptions
impl Default for RemoveAccessibleEvent
impl Default for RemoveMaster
impl Default for RenderCallBody
impl Default for RenderReturn
impl Default for ReparentEvent
impl Default for ReparentNotifyEvent
impl Default for ReparentNotifyEvent
impl Default for ReparentWindowRequest
impl Default for ReparentWindowRequest
impl Default for Repeat
impl Default for Repeat
impl Default for Repeat
impl Default for ResizeEvent
impl Default for ResizeRequestEvent
impl Default for ResizeRequestEvent
impl Default for ResolveFlags
impl Default for ResolveFlags
impl Default for ResourceChange
impl Default for RestoreEvent
impl Default for RestyleEvent
impl Default for Resumption
impl Default for Rgb
impl Default for Rgb
impl Default for Rgbe8Pixel
impl Default for Rng
impl Default for Rng
impl Default for Robustness
impl Default for Role
impl Default for RopeBuilder
impl Default for Rotation
impl Default for Row
impl Default for RowDeletedEvent
impl Default for RowInsertedEvent
impl Default for RowReorderedEvent
impl Default for SA
impl Default for SAActionMessage
impl Default for SADeviceBtn
impl Default for SADeviceValuator
impl Default for SAIsoLock
impl Default for SAIsoLockFlag
impl Default for SAIsoLockNoAffect
impl Default for SALockDeviceBtn
impl Default for SALockPtrBtn
impl Default for SAMovePtr
impl Default for SAMovePtrFlag
impl Default for SANoAction
impl Default for SAPtrBtn
impl Default for SARedirectKey
impl Default for SASetControls
impl Default for SASetGroup
impl Default for SASetMods
impl Default for SASetPtrDflt
impl Default for SASetPtrDfltFlag
impl Default for SASwitchScreen
impl Default for SATerminate
impl Default for SAType
impl Default for SAValWhat
impl Default for SIAction
impl Default for SK
impl Default for SK
impl Default for SO
impl Default for SO
impl Default for Sample
impl Default for SamplingOptions
impl Default for SaveSetMapping
impl Default for SaveSetMapping
impl Default for SaveSetMode
impl Default for SaveSetMode
impl Default for SaveSetTarget
impl Default for SaveSetTarget
impl Default for Screen
impl Default for Screen
impl Default for ScreenChangeNotifyEvent
impl Default for ScreenSaver
impl Default for ScreenSaver
impl Default for ScreenSize
impl Default for ScrollClass
impl Default for ScrollFlags
impl Default for ScrollType
impl Default for Segment
impl Default for Segment
impl Default for SelectCursorInputRequest
impl Default for SelectCursorInputRequest
impl Default for SelectEventsAux
impl Default for SelectInputRequest
impl Default for SelectInputRequest
impl Default for SelectInputRequest
impl Default for SelectSelectionInputRequest
impl Default for SelectSelectionInputRequest
impl Default for SelectionChangedEvent
impl Default for SelectionClearEvent
impl Default for SelectionClearEvent
impl Default for SelectionEvent
impl Default for SelectionEvent
impl Default for SelectionEventMask
impl Default for SelectionEventMask
impl Default for SelectionNotifyEvent
impl Default for SelectionNotifyEvent
impl Default for SelectionNotifyEvent
impl Default for SelectionNotifyEvent
impl Default for SelectionRequestEvent
impl Default for SelectionRequestEvent
impl Default for SendAncillaryBuffer<'_, '_, '_>
impl Default for SendEventDest
impl Default for SendEventDest
impl Default for SerializedFocusData
impl Default for SerializedMouseData
impl Default for ServerConnectionData
impl Default for SetAccessControlRequest
impl Default for SetAccessControlRequest
impl Default for SetClientDisconnectModeRequest
impl Default for SetCloseDownModeRequest
impl Default for SetCloseDownModeRequest
impl Default for SetConfig
impl Default for SetCrtcConfigReply
impl Default for SetDebuggingFlagsReply
impl Default for SetDeviceButtonMappingReply
impl Default for SetDeviceFocusRequest
impl Default for SetDeviceModeReply
impl Default for SetDeviceModeRequest
impl Default for SetDeviceModifierMappingReply
impl Default for SetDeviceValuatorsReply
impl Default for SetExplicit
impl Default for SetGCClipRegionRequest
impl Default for SetGCClipRegionRequest
impl Default for SetInputFocusRequest
impl Default for SetInputFocusRequest
impl Default for SetKeyType
impl Default for SetMapAux
impl Default for SetMapFlags
impl Default for SetMode
impl Default for SetMode
impl Default for SetModifierMappingReply
impl Default for SetModifierMappingReply
impl Default for SetMonitorRequest
impl Default for SetNamedIndicatorRequest
impl Default for SetNamesAux
impl Default for SetOfGroup
impl Default for SetOfGroups
impl Default for SetOutputPrimaryRequest
impl Default for SetPanningReply
impl Default for SetPanningRequest
impl Default for SetPictureClipRegionRequest
impl Default for SetPictureClipRegionRequest
impl Default for SetPictureTransformRequest
impl Default for SetPictureTransformRequest
impl Default for SetPointerMappingReply
impl Default for SetPointerMappingReply
impl Default for SetProviderOffloadSinkRequest
impl Default for SetProviderOutputSourceRequest
impl Default for SetScreenConfigReply
impl Default for SetScreenConfigRequest
impl Default for SetScreenSaverRequest
impl Default for SetScreenSaverRequest
impl Default for SetScreenSizeRequest
impl Default for SetSelectionOwnerRequest
impl Default for SetSelectionOwnerRequest
impl Default for SetWindowShapeRegionRequest
impl Default for SetWindowShapeRegionRequest
impl Default for Setup
impl Default for Setup
impl Default for SetupAuthenticate
impl Default for SetupAuthenticate
impl Default for SetupFailed
impl Default for SetupFailed
impl Default for SetupRequest
impl Default for SetupRequest
impl Default for Sha1Core
impl Default for ShadeEvent
impl Default for Shape
impl Default for ShowCursorRequest
impl Default for ShowCursorRequest
impl Default for SignalHandler
impl Default for Size
impl Default for Size
impl Default for SkBlendMode
impl Default for SkBlurStyle
impl Default for SkCanvas_Lattice_RectType
impl Default for SkClipOp
impl Default for SkPDF_Metadata_CompressionLevel
impl Default for SkPaint_Cap
impl Default for SkPaint_Join
impl Default for SkParsePath_PathEncoding
impl Default for SkPathDirection
impl Default for SkTileMode
impl Default for SkYUVColorSpace
impl Default for SmallIndex
impl Default for SmolStr
impl Default for Spanfix
impl Default for Spanfix
impl Default for SpinWait
impl Default for SpreadMode
impl Default for StackMode
impl Default for StackMode
impl Default for StartKind
impl Default for State
impl Default for StateChangedEvent
impl Default for StateID
impl Default for StateID
impl Default for StateNotifyEvent
impl Default for StatePart
impl Default for StateSet
impl Default for StorageId
impl Default for Str
impl Default for Str
impl Default for StreamingDecoder
impl Default for StringFeedbackCtl
impl Default for StringFeedbackState
impl Default for Stroke
impl Default for StructureElementNode
impl Default for Style
impl Default for SubPixel
impl Default for SubPixel
impl Default for SubtractRegionRequest
impl Default for SubtractRegionRequest
impl Default for SubwindowMode
impl Default for SubwindowMode
impl Default for SurfaceData
impl Default for SurfaceInfo
impl Default for SurfaceProps
impl Default for SurfacePropsFlags
impl Default for SwitchScreenFlag
impl Default for SymInterpMatch
impl Default for SymInterpret
impl Default for SymInterpretMatch
impl Default for Table
impl Default for Text
impl Default for TextAttributesChangedEvent
impl Default for TextBoundsChangedEvent
impl Default for TextCaretMovedEvent
impl Default for TextChangedEvent
impl Default for TextDecoration
impl Default for TextEncoding
impl Default for TextNode
impl Default for TextSelectionChangedEvent
impl Default for TextShadow
impl Default for TextureInfo
impl Default for ThreadPoolBuilder
impl Default for Time
impl Default for Time
impl Default for TimeCode
impl Default for Timecoord
impl Default for Timecoord
impl Default for TouchBeginEvent
impl Default for TouchClass
impl Default for TouchEventFlags
impl Default for TouchMode
impl Default for TouchOwnershipEvent
impl Default for TouchOwnershipFlags
impl Default for Transform
impl Default for Transform
impl Default for Transform
impl Default for Transform
impl Default for Transformations
Instantiate the default transformations, the identity transform.
impl Default for TranslateCoordinatesReply
impl Default for TranslateCoordinatesReply
impl Default for TranslateCoordinatesRequest
impl Default for TranslateCoordinatesRequest
impl Default for TranslateRegionRequest
impl Default for TranslateRegionRequest
impl Default for TranslatorBuilder
impl Default for Trap
impl Default for Trap
impl Default for Trapezoid
impl Default for Trapezoid
impl Default for Triangle
impl Default for Triangle
impl Default for TypeIdHasher
impl Default for UUshadeEvent
impl Default for Uncompressed
impl Default for UngrabButtonRequest
impl Default for UngrabButtonRequest
impl Default for UngrabDeviceButtonRequest
impl Default for UngrabDeviceKeyRequest
impl Default for UngrabDeviceRequest
impl Default for UngrabKeyRequest
impl Default for UngrabKeyRequest
impl Default for UngrabKeyboardRequest
impl Default for UngrabKeyboardRequest
impl Default for UngrabPointerRequest
impl Default for UngrabPointerRequest
impl Default for UngrabServerRequest
impl Default for UngrabServerRequest
impl Default for UnicodeRanges
impl Default for UninstallColormapRequest
impl Default for UninstallColormapRequest
impl Default for UnionRegionRequest
impl Default for UnionRegionRequest
impl Default for UnixCredentials
impl Default for UnixCredentials
impl Default for UnknownUnit
impl Default for UnmapNotifyEvent
impl Default for UnmapNotifyEvent
impl Default for UnmapSubwindowsRequest
impl Default for UnmapSubwindowsRequest
impl Default for UnmapWindowRequest
impl Default for UnmapWindowRequest
impl Default for UnparkResult
impl Default for Unsupported
impl Default for UseExtensionReply
impl Default for UseExtensionRequest
impl Default for UserAttentionType
impl Default for UserDataMap
impl Default for Utf8PathBuf
impl Default for V2
impl Default for V3
impl Default for V4
impl Default for VMod
impl Default for VModsHigh
impl Default for VModsLow
impl Default for VPlaceholder
impl Default for ValidationOptions
impl Default for ValuatorClass
impl Default for ValuatorInfo
impl Default for ValuatorMode
impl Default for ValuatorState
impl Default for ValuatorStateModeMask
impl Default for Vec2
impl Default for Version
impl Default for Visibility
impl Default for Visibility
impl Default for VisibilityNotifyEvent
impl Default for VisibilityNotifyEvent
impl Default for VisibleDataChangedEvent
impl Default for VisualClass
impl Default for VisualClass
impl Default for Visualtype
impl Default for Visualtype
impl Default for WaitGroup
impl Default for WarpPointerRequest
impl Default for WarpPointerRequest
impl Default for WatchFlags
impl Default for WatchFlags
impl Default for WebPQuality
impl Default for Weight
impl Default for WhichCaptures
impl Default for Width
impl Default for WindowAttributes
impl Default for WindowBuilder
impl Default for WindowClass
impl Default for WindowClass
impl Default for WindowEnum
impl Default for WindowEnum
impl Default for WindowLevel
impl Default for WindowSurface
impl Default for WindowType
impl Default for WmHints
impl Default for WmHints
impl Default for WmSizeHints
impl Default for WmSizeHints
impl Default for World
impl Default for XIAddMasterInfo
impl Default for XIAllowEventsRequest
impl Default for XIAnyClassInfo
impl Default for XIAnyHierarchyChangeInfo
impl Default for XIAttachSlaveInfo
impl Default for XIBarrierEvent
impl Default for XIBarrierReleasePointerInfo
impl Default for XIButtonClassInfo
impl Default for XIButtonState
impl Default for XIChangeCursorRequest
impl Default for XIDeletePropertyRequest
impl Default for XIDetachSlaveInfo
impl Default for XIDeviceChangedEvent
impl Default for XIDeviceEvent
impl Default for XIDeviceInfo
impl Default for XIEnterEvent
impl Default for XIEvent
impl Default for XIEventMask
impl Default for XIEventMask
impl Default for XIFeature
impl Default for XIGetClientPointerReply
impl Default for XIGetClientPointerRequest
impl Default for XIGetFocusReply
impl Default for XIGetFocusRequest
impl Default for XIGetPropertyRequest
impl Default for XIGetSelectedEventsReply
impl Default for XIGetSelectedEventsRequest
impl Default for XIGrabDeviceReply
impl Default for XIGrabModifiers
impl Default for XIHierarchyEvent
impl Default for XIHierarchyInfo
impl Default for XIKeyClassInfo
impl Default for XIListPropertiesReply
impl Default for XIListPropertiesRequest
impl Default for XIModifierState
impl Default for XIPassiveGrabDeviceReply
impl Default for XIPropertyEvent
impl Default for XIQueryDeviceRequest
impl Default for XIQueryPointerReply
impl Default for XIQueryPointerRequest
impl Default for XIQueryVersionReply
impl Default for XIQueryVersionRequest
impl Default for XIRawEvent
impl Default for XIRemoveMasterInfo
impl Default for XIScrollClassInfo
impl Default for XISetClientPointerRequest
impl Default for XISetFocusRequest
impl Default for XITouchClassInfo
impl Default for XITouchOwnershipEvent
impl Default for XIUngrabDeviceRequest
impl Default for XIValuatorClassInfo
impl Default for XIValuatorState
impl Default for XIWarpPointerRequest
impl Default for f32x2
impl Default for skia_textlayout_Affinity
impl Default for skia_textlayout_PositionWithAffinity
impl Default for skia_textlayout_StyleType
impl Default for skia_textlayout_TextAlign
impl Default for skia_textlayout_TextBaseline
impl Default for skia_textlayout_TextDecorationMode
impl Default for skia_textlayout_TextDecorationStyle
impl Default for vec128_storage
impl Default for vec256_storage
impl Default for vec512_storage
impl<'a> Default for &'a BStr
impl<'a> Default for &'a mut BStr
impl<'a> Default for MetadataBuilder<'a>
impl<'a> Default for RecordBuilder<'a>
impl<'a> Default for PrettyFormatter<'a>
impl<'a> Default for DynamicContext<'a>
impl<'a> Default for Executor<'a>
impl<'a> Default for Frame<'a>
impl<'a> Default for LocalExecutor<'a>
impl<'a> Default for Names<'a>
impl<'a> Default for Names<'a>
impl<'a> Default for NodeMaskBuilder<'a>
impl<'a> Default for NonBlocking<'a>
impl<'a> Default for NonBlocking<'a>
impl<'a> Default for RawFaceTables<'a>
impl<'a> Default for SaveLayerRec<'a>
impl<'a> Default for Select<'a>
impl<'a> Default for Str<'a>
impl<'a> Default for Structure<'a>
impl<'a> Default for StructureBuilder<'a>
impl<'a> Default for Subtables<'a>
impl<'a> Default for SubtablesIter<'a>
impl<'a> Default for Table<'a>
impl<'a> Default for Table<'a>
impl<'a> Default for Table<'a>
impl<'a> Default for ThemeSpec<'a>
impl<'a> Default for TrackData<'a>
impl<'a> Default for Tracks<'a>
impl<'a> Default for ValueRecord<'a>
impl<'a, K, V> Default for alloc::collections::btree::map::Iter<'a, K, V>where
K: 'a,
V: 'a,
impl<'a, K, V> Default for alloc::collections::btree::map::IterMut<'a, K, V>where
K: 'a,
V: 'a,
impl<'a, T> Default for LaunchConfig<'a, T>
impl<'a, T> Default for OnceRef<'a, T>
impl<'buf> Default for RecvAncillaryBuffer<'buf>
impl<'input> Default for AddGlyphsRequest<'input>
impl<'input> Default for AddGlyphsRequest<'input>
impl<'input> Default for AddTrapsRequest<'input>
impl<'input> Default for AddTrapsRequest<'input>
impl<'input> Default for AllocNamedColorRequest<'input>
impl<'input> Default for AllocNamedColorRequest<'input>
impl<'input> Default for ChangeCursorByNameRequest<'input>
impl<'input> Default for ChangeCursorByNameRequest<'input>
impl<'input> Default for ChangeDeviceDontPropagateListRequest<'input>
impl<'input> Default for ChangeDeviceKeyMappingRequest<'input>
impl<'input> Default for ChangeGCRequest<'input>
impl<'input> Default for ChangeGCRequest<'input>
impl<'input> Default for ChangeHostsRequest<'input>
impl<'input> Default for ChangeHostsRequest<'input>
impl<'input> Default for ChangeKeyboardControlRequest<'input>
impl<'input> Default for ChangeKeyboardControlRequest<'input>
impl<'input> Default for ChangeKeyboardMappingRequest<'input>
impl<'input> Default for ChangeKeyboardMappingRequest<'input>
impl<'input> Default for ChangeOutputPropertyRequest<'input>
impl<'input> Default for ChangePictureRequest<'input>
impl<'input> Default for ChangePictureRequest<'input>
impl<'input> Default for ChangePropertyRequest<'input>
impl<'input> Default for ChangePropertyRequest<'input>
impl<'input> Default for ChangeProviderPropertyRequest<'input>
impl<'input> Default for ChangeWindowAttributesRequest<'input>
impl<'input> Default for ChangeWindowAttributesRequest<'input>
impl<'input> Default for CompositeGlyphs8Request<'input>
impl<'input> Default for CompositeGlyphs8Request<'input>
impl<'input> Default for CompositeGlyphs16Request<'input>
impl<'input> Default for CompositeGlyphs16Request<'input>
impl<'input> Default for CompositeGlyphs32Request<'input>
impl<'input> Default for CompositeGlyphs32Request<'input>
impl<'input> Default for ConfigureOutputPropertyRequest<'input>
impl<'input> Default for ConfigureProviderPropertyRequest<'input>
impl<'input> Default for ConfigureWindowRequest<'input>
impl<'input> Default for ConfigureWindowRequest<'input>
impl<'input> Default for CreateAnimCursorRequest<'input>
impl<'input> Default for CreateAnimCursorRequest<'input>
impl<'input> Default for CreateConicalGradientRequest<'input>
impl<'input> Default for CreateConicalGradientRequest<'input>
impl<'input> Default for CreateGCRequest<'input>
impl<'input> Default for CreateGCRequest<'input>
impl<'input> Default for CreateLeaseRequest<'input>
impl<'input> Default for CreateLinearGradientRequest<'input>
impl<'input> Default for CreateLinearGradientRequest<'input>
impl<'input> Default for CreateModeRequest<'input>
impl<'input> Default for CreatePictureRequest<'input>
impl<'input> Default for CreatePictureRequest<'input>
impl<'input> Default for CreatePointerBarrierRequest<'input>
impl<'input> Default for CreatePointerBarrierRequest<'input>
impl<'input> Default for CreateRadialGradientRequest<'input>
impl<'input> Default for CreateRadialGradientRequest<'input>
impl<'input> Default for CreateRegionRequest<'input>
impl<'input> Default for CreateRegionRequest<'input>
impl<'input> Default for CreateWindowRequest<'input>
impl<'input> Default for CreateWindowRequest<'input>
impl<'input> Default for FillPolyRequest<'input>
impl<'input> Default for FillPolyRequest<'input>
impl<'input> Default for FillRectanglesRequest<'input>
impl<'input> Default for FillRectanglesRequest<'input>
impl<'input> Default for FreeColorsRequest<'input>
impl<'input> Default for FreeColorsRequest<'input>
impl<'input> Default for FreeGlyphsRequest<'input>
impl<'input> Default for FreeGlyphsRequest<'input>
impl<'input> Default for GetExtensionVersionRequest<'input>
impl<'input> Default for GrabDeviceButtonRequest<'input>
impl<'input> Default for GrabDeviceKeyRequest<'input>
impl<'input> Default for GrabDeviceRequest<'input>
impl<'input> Default for ImageText8Request<'input>
impl<'input> Default for ImageText8Request<'input>
impl<'input> Default for ImageText16Request<'input>
impl<'input> Default for ImageText16Request<'input>
impl<'input> Default for InternAtomRequest<'input>
impl<'input> Default for InternAtomRequest<'input>
impl<'input> Default for ListFontsRequest<'input>
impl<'input> Default for ListFontsRequest<'input>
impl<'input> Default for ListFontsWithInfoRequest<'input>
impl<'input> Default for ListFontsWithInfoRequest<'input>
impl<'input> Default for LookupColorRequest<'input>
impl<'input> Default for LookupColorRequest<'input>
impl<'input> Default for OpenFontRequest<'input>
impl<'input> Default for OpenFontRequest<'input>
impl<'input> Default for PolyArcRequest<'input>
impl<'input> Default for PolyArcRequest<'input>
impl<'input> Default for PolyFillArcRequest<'input>
impl<'input> Default for PolyFillArcRequest<'input>
impl<'input> Default for PolyFillRectangleRequest<'input>
impl<'input> Default for PolyFillRectangleRequest<'input>
impl<'input> Default for PolyLineRequest<'input>
impl<'input> Default for PolyLineRequest<'input>
impl<'input> Default for PolyPointRequest<'input>
impl<'input> Default for PolyPointRequest<'input>
impl<'input> Default for PolyRectangleRequest<'input>
impl<'input> Default for PolyRectangleRequest<'input>
impl<'input> Default for PolySegmentRequest<'input>
impl<'input> Default for PolySegmentRequest<'input>
impl<'input> Default for PolyText8Request<'input>
impl<'input> Default for PolyText8Request<'input>
impl<'input> Default for PolyText16Request<'input>
impl<'input> Default for PolyText16Request<'input>
impl<'input> Default for PutImageRequest<'input>
impl<'input> Default for PutImageRequest<'input>
impl<'input> Default for QueryColorsRequest<'input>
impl<'input> Default for QueryColorsRequest<'input>
impl<'input> Default for QueryExtensionRequest<'input>
impl<'input> Default for QueryExtensionRequest<'input>
impl<'input> Default for QueryTextExtentsRequest<'input>
impl<'input> Default for QueryTextExtentsRequest<'input>
impl<'input> Default for RectanglesRequest<'input>
impl<'input> Default for RectanglesRequest<'input>
impl<'input> Default for RotatePropertiesRequest<'input>
impl<'input> Default for RotatePropertiesRequest<'input>
impl<'input> Default for SelectEventsRequest<'input>
impl<'input> Default for SelectExtensionEventRequest<'input>
impl<'input> Default for SendEventRequest<'input>
impl<'input> Default for SendEventRequest<'input>
impl<'input> Default for SetClipRectanglesRequest<'input>
impl<'input> Default for SetClipRectanglesRequest<'input>
impl<'input> Default for SetCompatMapRequest<'input>
impl<'input> Default for SetControlsRequest<'input>
impl<'input> Default for SetCrtcConfigRequest<'input>
impl<'input> Default for SetCrtcGammaRequest<'input>
impl<'input> Default for SetCrtcTransformRequest<'input>
impl<'input> Default for SetCursorNameRequest<'input>
impl<'input> Default for SetCursorNameRequest<'input>
impl<'input> Default for SetDashesRequest<'input>
impl<'input> Default for SetDashesRequest<'input>
impl<'input> Default for SetDebuggingFlagsRequest<'input>
impl<'input> Default for SetDeviceButtonMappingRequest<'input>
impl<'input> Default for SetDeviceModifierMappingRequest<'input>
impl<'input> Default for SetDeviceValuatorsRequest<'input>
impl<'input> Default for SetFontPathRequest<'input>
impl<'input> Default for SetFontPathRequest<'input>
impl<'input> Default for SetIndicatorMapRequest<'input>
impl<'input> Default for SetModifierMappingRequest<'input>
impl<'input> Default for SetModifierMappingRequest<'input>
impl<'input> Default for SetNamesRequest<'input>
impl<'input> Default for SetPictureClipRectanglesRequest<'input>
impl<'input> Default for SetPictureClipRectanglesRequest<'input>
impl<'input> Default for SetPictureFilterRequest<'input>
impl<'input> Default for SetPictureFilterRequest<'input>
impl<'input> Default for SetPointerMappingRequest<'input>
impl<'input> Default for SetPointerMappingRequest<'input>
impl<'input> Default for SetRegionRequest<'input>
impl<'input> Default for SetRegionRequest<'input>
impl<'input> Default for StoreColorsRequest<'input>
impl<'input> Default for StoreColorsRequest<'input>
impl<'input> Default for StoreNamedColorRequest<'input>
impl<'input> Default for StoreNamedColorRequest<'input>
impl<'input> Default for TrapezoidsRequest<'input>
impl<'input> Default for TrapezoidsRequest<'input>
impl<'input> Default for TriFanRequest<'input>
impl<'input> Default for TriFanRequest<'input>
impl<'input> Default for TriStripRequest<'input>
impl<'input> Default for TriStripRequest<'input>
impl<'input> Default for TrianglesRequest<'input>
impl<'input> Default for TrianglesRequest<'input>
impl<'input> Default for XIBarrierReleasePointerRequest<'input>
impl<'input> Default for XIGrabDeviceRequest<'input>
impl<'input> Default for XIPassiveGrabDeviceRequest<'input>
impl<'input> Default for XIPassiveUngrabDeviceRequest<'input>
impl<'input> Default for XISelectEventsRequest<'input>
impl<'m> Default for MessageFields<'m>
impl<'s, T> Default for SliceVec<'s, T>
impl<A> Default for ArrayVec<A>where
A: Array,
impl<A> Default for Map<A>where
A: Downcast + ?Sized,
impl<A> Default for SmallVec<A>where
A: Array,
impl<A> Default for TinyVec<A>where
A: Array,
impl<A, B> Default for Chain<A, B>
impl<B> Default for Cow<'_, B>
impl<B> Default for petgraph::visit::dfsvisit::Control<B>
The default is Continue
.
impl<B> Default for Collected<B>
impl<BlockSize, Kind> Default for BlockBuffer<BlockSize, Kind>
impl<C> Default for JoinMultiple<C>where
C: Default,
impl<C> Default for JoinMultiplePin<C>where
C: Default,
impl<Ctx> Default for freya::prelude::Config<Ctx>where
Ctx: HotReloadingContext,
impl<D> Default for http_body::empty::Empty<D>
impl<D> Default for Full<D>where
D: Buf,
impl<D, E> Default for BoxBody<D, E>where
D: Buf + 'static,
impl<D, E> Default for UnsyncBoxBody<D, E>where
D: Buf + 'static,
impl<E, Ix> Default for List<E, Ix>
impl<F> Default for OptionFuture<F>
impl<Fut> Default for FuturesOrdered<Fut>where
Fut: Future,
impl<Fut> Default for FuturesUnordered<Fut>
impl<H> Default for BuildHasherDefault<H>
impl<I> Default for Cloned<I>where
I: Default,
impl<I> Default for Copied<I>where
I: Default,
impl<I> Default for Enumerate<I>where
I: Default,
impl<I> Default for Flatten<I>
impl<I> Default for Fuse<I>where
I: Default,
impl<I> Default for Rev<I>where
I: Default,
impl<Idx> Default for core::ops::range::Range<Idx>where
Idx: Default,
impl<Inner, Value> Default for Recursive<Inner, Value>
impl<Ix> Default for EdgeIndex<Ix>where
Ix: Default,
impl<Ix> Default for NodeIndex<Ix>where
Ix: Default,
impl<K, S> Default for DashSet<K, S>
impl<K, V> Default for &Slice<K, V>
impl<K, V> Default for &mut Slice<K, V>
impl<K, V> Default for alloc::boxed::Box<Slice<K, V>>
impl<K, V> Default for BTreeMap<K, V>
impl<K, V> Default for alloc::collections::btree::map::Keys<'_, K, V>
impl<K, V> Default for alloc::collections::btree::map::Range<'_, K, V>
impl<K, V> Default for alloc::collections::btree::map::Values<'_, K, V>
impl<K, V> Default for AHashMap<K, V>
NOTE: For safety this trait impl is only available available if either of the flags runtime-rng
(on by default) or
compile-time-rng
are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of
constructors for [RandomState] must be used.
impl<K, V> Default for IntoIter<K, V>
impl<K, V> Default for IntoKeys<K, V>
impl<K, V> Default for IntoValues<K, V>
impl<K, V> Default for Iter<'_, K, V>
impl<K, V> Default for IterMut<'_, K, V>
impl<K, V> Default for Keys<'_, K, V>
impl<K, V> Default for Values<'_, K, V>
impl<K, V> Default for ValuesMut<'_, K, V>
impl<K, V, A> Default for alloc::collections::btree::map::IntoIter<K, V, A>
impl<K, V, A> Default for alloc::collections::btree::map::IntoKeys<K, V, A>
impl<K, V, A> Default for alloc::collections::btree::map::IntoValues<K, V, A>
impl<K, V, S> Default for std::collections::hash::map::HashMap<K, V, S>where
S: Default,
impl<K, V, S> Default for DashMap<K, V, S>
impl<K, V, S> Default for IndexMap<K, V, S>where
S: Default,
impl<K, V, S, A> Default for HashMap<K, V, S, A>
impl<K, V, S, A> Default for HashMap<K, V, S, A>
impl<Key> Default for Torin<Key>where
Key: NodeKey,
impl<M> Default for Builder<M>where
M: Default,
impl<Meta> Default for ObjectMap<Meta>where
Meta: Default + ObjectMetadata,
impl<N> Default for TarjanScc<N>
impl<N, E, Ty> Default for GraphMap<N, E, Ty>
Create a new empty GraphMap
.
impl<N, E, Ty, Ix> Default for Csr<N, E, Ty, Ix>
impl<N, E, Ty, Ix> Default for StableGraph<N, E, Ty, Ix>
Create a new empty StableGraph
.
impl<N, E, Ty, Ix> Default for Graph<N, E, Ty, Ix>
Create a new empty Graph
.
impl<N, E, Ty, Null, Ix> Default for MatrixGraph<N, E, Ty, Null, Ix>
Create a new empty MatrixGraph
.
impl<N, VM> Default for DfsSpace<N, VM>
impl<N, VM> Default for Bfs<N, VM>where
VM: Default,
impl<N, VM> Default for Dfs<N, VM>where
VM: Default,
impl<N, VM> Default for DfsPostOrder<N, VM>where
VM: Default,
impl<N, VM> Default for Topo<N, VM>where
VM: Default,
impl<P> Default for LogicalPosition<P>where
P: Default,
impl<P> Default for LogicalSize<P>where
P: Default,
impl<P> Default for PhysicalPosition<P>where
P: Default,
impl<P> Default for PhysicalSize<P>where
P: Default,
impl<P, Container> Default for ImageBuffer<P, Container>where
P: Pixel,
Container: Default,
impl<R> Default for MemoryHistory<R>
impl<R> Default for RouterConfig<R>
impl<R> Default for RouterConfigFactory<R>
impl<R> Default for RouterProps<R>
impl<R, G, T> Default for ReentrantMutex<R, G, T>
impl<R, T> Default for Mutex<R, T>
impl<R, T> Default for RwLock<R, T>
impl<S> Default for Owner<S>where
S: AnyStorage,
impl<St> Default for SelectAll<St>where
St: Stream + Unpin,
impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
impl<Storage> Default for __BindgenBitfieldUnit<Storage>where
Storage: Default,
impl<T> Default for &[T]
impl<T> Default for &Slice<T>
impl<T> Default for &mut [T]
impl<T> Default for Option<T>
impl<T> Default for [T; 0]
impl<T> Default for [T; 1]where
T: Default,
impl<T> Default for [T; 2]where
T: Default,
impl<T> Default for [T; 3]where
T: Default,
impl<T> Default for [T; 4]where
T: Default,
impl<T> Default for [T; 5]where
T: Default,
impl<T> Default for [T; 6]where
T: Default,
impl<T> Default for [T; 7]where
T: Default,
impl<T> Default for [T; 8]where
T: Default,
impl<T> Default for [T; 9]where
T: Default,
impl<T> Default for [T; 10]where
T: Default,
impl<T> Default for [T; 11]where
T: Default,
impl<T> Default for [T; 12]where
T: Default,
impl<T> Default for [T; 13]where
T: Default,
impl<T> Default for [T; 14]where
T: Default,
impl<T> Default for [T; 15]where
T: Default,
impl<T> Default for [T; 16]where
T: Default,
impl<T> Default for [T; 17]where
T: Default,
impl<T> Default for [T; 18]where
T: Default,
impl<T> Default for [T; 19]where
T: Default,
impl<T> Default for [T; 20]where
T: Default,
impl<T> Default for [T; 21]where
T: Default,
impl<T> Default for [T; 22]where
T: Default,
impl<T> Default for [T; 23]where
T: Default,
impl<T> Default for [T; 24]where
T: Default,
impl<T> Default for [T; 25]where
T: Default,
impl<T> Default for [T; 26]where
T: Default,
impl<T> Default for [T; 27]where
T: Default,
impl<T> Default for [T; 28]where
T: Default,
impl<T> Default for [T; 29]where
T: Default,
impl<T> Default for [T; 30]where
T: Default,
impl<T> Default for [T; 31]where
T: Default,
impl<T> Default for [T; 32]where
T: Default,
impl<T> Default for (T₁, T₂, …, Tₙ)where
T: Default,
This trait is implemented for tuples up to twelve items long.
impl<T> Default for alloc::boxed::Box<[T]>
impl<T> Default for alloc::boxed::Box<Slice<T>>
impl<T> Default for alloc::boxed::Box<T>where
T: Default,
impl<T> Default for BinaryHeap<T>where
T: Ord,
impl<T> Default for alloc::collections::binary_heap::IntoIter<T>
impl<T> Default for BTreeSet<T>
impl<T> Default for alloc::collections::btree::set::Iter<'_, T>
impl<T> Default for alloc::collections::btree::set::Range<'_, T>
impl<T> Default for alloc::collections::linked_list::IntoIter<T>
impl<T> Default for alloc::collections::linked_list::Iter<'_, T>
impl<T> Default for alloc::collections::linked_list::IterMut<'_, T>
impl<T> Default for LinkedList<T>
impl<T> Default for VecDeque<T>
impl<T> Default for Rc<T>where
T: Default,
impl<T> Default for alloc::rc::Weak<T>
impl<T> Default for alloc::sync::Arc<T>where
T: Default,
impl<T> Default for alloc::sync::Weak<T>
impl<T> Default for Vec<T>
impl<T> Default for LazyCell<T>where
T: Default,
impl<T> Default for core::cell::once::OnceCell<T>
impl<T> Default for Cell<T>where
T: Default,
impl<T> Default for RefCell<T>where
T: Default,
impl<T> Default for SyncUnsafeCell<T>where
T: Default,
impl<T> Default for UnsafeCell<T>where
T: Default,
impl<T> Default for Reverse<T>where
T: Default,
impl<T> Default for core::iter::sources::empty::Empty<T>
impl<T> Default for PhantomData<T>where
T: ?Sized,
impl<T> Default for ManuallyDrop<T>
impl<T> Default for Saturating<T>where
T: Default,
impl<T> Default for Wrapping<T>where
T: Default,
impl<T> Default for AssertUnwindSafe<T>where
T: Default,
impl<T> Default for core::slice::iter::Iter<'_, T>
impl<T> Default for core::slice::iter::IterMut<'_, T>
impl<T> Default for AtomicPtr<T>
impl<T> Default for Exclusive<T>
impl<T> Default for std::io::cursor::Cursor<T>where
T: Default,
impl<T> Default for LazyLock<T>where
T: Default,
impl<T> Default for std::sync::mutex::Mutex<T>
impl<T> Default for OnceLock<T>
impl<T> Default for std::sync::rwlock::RwLock<T>where
T: Default,
impl<T> Default for HeaderMap<T>
impl<T> Default for Request<T>where
T: Default,
impl<T> Default for Response<T>where
T: Default,
impl<T> Default for HttpsConnector<T>where
T: Default,
impl<T> Default for NotZero<T>where
T: Zero,
impl<T> Default for EventHandler<T>
impl<T> Default for LaunchConfigBuilder<'_, T>
impl<T> Default for WindowConfig<T>where
T: Clone,
impl<T> Default for AHashSet<T>
NOTE: For safety this trait impl is only available available if either of the flags runtime-rng
(on by default) or
compile-time-rng
are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of
constructors for [RandomState] must be used.
impl<T> Default for AlgSetKey<T>
impl<T> Default for AlgSetKey<T>
impl<T> Default for Angle<T>where
T: Default,
impl<T> Default for Atomic<T>where
T: Pointable + ?Sized,
impl<T> Default for AtomicCell<T>where
T: Default,
impl<T> Default for BitFlags<T>where
T: BitFlag,
The default value returned is one with all flags unset, i. e. [empty
][Self::empty],
unless customized.