Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

View File

@@ -0,0 +1,500 @@
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolEffectOptions;
unsafe impl ClassType for NSSymbolEffectOptions {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolEffectOptions {}
unsafe impl NSCopying for NSSymbolEffectOptions {}
unsafe impl NSObjectProtocol for NSSymbolEffectOptions {}
unsafe impl NSSecureCoding for NSSymbolEffectOptions {}
extern_methods!(
unsafe impl NSSymbolEffectOptions {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[method_id(@__retain_semantics Other options)]
pub unsafe fn options() -> Retained<Self>;
#[method_id(@__retain_semantics Other optionsWithRepeating)]
pub unsafe fn optionsWithRepeating_class() -> Retained<Self>;
#[method_id(@__retain_semantics Other optionsWithRepeating)]
pub unsafe fn optionsWithRepeating(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other optionsWithNonRepeating)]
pub unsafe fn optionsWithNonRepeating_class() -> Retained<Self>;
#[method_id(@__retain_semantics Other optionsWithNonRepeating)]
pub unsafe fn optionsWithNonRepeating(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other optionsWithRepeatCount:)]
pub unsafe fn optionsWithRepeatCount_class(count: NSInteger) -> Retained<Self>;
#[method_id(@__retain_semantics Other optionsWithRepeatCount:)]
pub unsafe fn optionsWithRepeatCount(&self, count: NSInteger) -> Retained<Self>;
#[method_id(@__retain_semantics Other optionsWithSpeed:)]
pub unsafe fn optionsWithSpeed_class(speed: c_double) -> Retained<Self>;
#[method_id(@__retain_semantics Other optionsWithSpeed:)]
pub unsafe fn optionsWithSpeed(&self, speed: c_double) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolEffect;
unsafe impl ClassType for NSSymbolEffect {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolEffect {}
unsafe impl NSCopying for NSSymbolEffect {}
unsafe impl NSObjectProtocol for NSSymbolEffect {}
unsafe impl NSSecureCoding for NSSymbolEffect {}
extern_methods!(
unsafe impl NSSymbolEffect {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolPulseEffect;
unsafe impl ClassType for NSSymbolPulseEffect {
#[inherits(NSObject)]
type Super = NSSymbolEffect;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolPulseEffect {}
unsafe impl NSCopying for NSSymbolPulseEffect {}
unsafe impl NSObjectProtocol for NSSymbolPulseEffect {}
unsafe impl NSSecureCoding for NSSymbolPulseEffect {}
extern_methods!(
unsafe impl NSSymbolPulseEffect {
#[method_id(@__retain_semantics Other effect)]
pub unsafe fn effect() -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithByLayer)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithWholeSymbol)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
}
);
extern_methods!(
/// Methods declared on superclass `NSSymbolEffect`
unsafe impl NSSymbolPulseEffect {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolBounceEffect;
unsafe impl ClassType for NSSymbolBounceEffect {
#[inherits(NSObject)]
type Super = NSSymbolEffect;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolBounceEffect {}
unsafe impl NSCopying for NSSymbolBounceEffect {}
unsafe impl NSObjectProtocol for NSSymbolBounceEffect {}
unsafe impl NSSecureCoding for NSSymbolBounceEffect {}
extern_methods!(
unsafe impl NSSymbolBounceEffect {
#[method_id(@__retain_semantics Other effect)]
pub unsafe fn effect() -> Retained<Self>;
#[method_id(@__retain_semantics Other bounceUpEffect)]
pub unsafe fn bounceUpEffect() -> Retained<Self>;
#[method_id(@__retain_semantics Other bounceDownEffect)]
pub unsafe fn bounceDownEffect() -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithByLayer)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithWholeSymbol)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
}
);
extern_methods!(
/// Methods declared on superclass `NSSymbolEffect`
unsafe impl NSSymbolBounceEffect {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolVariableColorEffect;
unsafe impl ClassType for NSSymbolVariableColorEffect {
#[inherits(NSObject)]
type Super = NSSymbolEffect;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolVariableColorEffect {}
unsafe impl NSCopying for NSSymbolVariableColorEffect {}
unsafe impl NSObjectProtocol for NSSymbolVariableColorEffect {}
unsafe impl NSSecureCoding for NSSymbolVariableColorEffect {}
extern_methods!(
unsafe impl NSSymbolVariableColorEffect {
#[method_id(@__retain_semantics Other effect)]
pub unsafe fn effect() -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithIterative)]
pub unsafe fn effectWithIterative(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithCumulative)]
pub unsafe fn effectWithCumulative(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithReversing)]
pub unsafe fn effectWithReversing(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithNonReversing)]
pub unsafe fn effectWithNonReversing(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithHideInactiveLayers)]
pub unsafe fn effectWithHideInactiveLayers(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithDimInactiveLayers)]
pub unsafe fn effectWithDimInactiveLayers(&self) -> Retained<Self>;
}
);
extern_methods!(
/// Methods declared on superclass `NSSymbolEffect`
unsafe impl NSSymbolVariableColorEffect {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolScaleEffect;
unsafe impl ClassType for NSSymbolScaleEffect {
#[inherits(NSObject)]
type Super = NSSymbolEffect;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolScaleEffect {}
unsafe impl NSCopying for NSSymbolScaleEffect {}
unsafe impl NSObjectProtocol for NSSymbolScaleEffect {}
unsafe impl NSSecureCoding for NSSymbolScaleEffect {}
extern_methods!(
unsafe impl NSSymbolScaleEffect {
#[method_id(@__retain_semantics Other effect)]
pub unsafe fn effect() -> Retained<Self>;
#[method_id(@__retain_semantics Other scaleUpEffect)]
pub unsafe fn scaleUpEffect() -> Retained<Self>;
#[method_id(@__retain_semantics Other scaleDownEffect)]
pub unsafe fn scaleDownEffect() -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithByLayer)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithWholeSymbol)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
}
);
extern_methods!(
/// Methods declared on superclass `NSSymbolEffect`
unsafe impl NSSymbolScaleEffect {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolAppearEffect;
unsafe impl ClassType for NSSymbolAppearEffect {
#[inherits(NSObject)]
type Super = NSSymbolEffect;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolAppearEffect {}
unsafe impl NSCopying for NSSymbolAppearEffect {}
unsafe impl NSObjectProtocol for NSSymbolAppearEffect {}
unsafe impl NSSecureCoding for NSSymbolAppearEffect {}
extern_methods!(
unsafe impl NSSymbolAppearEffect {
#[method_id(@__retain_semantics Other effect)]
pub unsafe fn effect() -> Retained<Self>;
#[method_id(@__retain_semantics Other appearUpEffect)]
pub unsafe fn appearUpEffect() -> Retained<Self>;
#[method_id(@__retain_semantics Other appearDownEffect)]
pub unsafe fn appearDownEffect() -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithByLayer)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithWholeSymbol)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
}
);
extern_methods!(
/// Methods declared on superclass `NSSymbolEffect`
unsafe impl NSSymbolAppearEffect {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolDisappearEffect;
unsafe impl ClassType for NSSymbolDisappearEffect {
#[inherits(NSObject)]
type Super = NSSymbolEffect;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolDisappearEffect {}
unsafe impl NSCopying for NSSymbolDisappearEffect {}
unsafe impl NSObjectProtocol for NSSymbolDisappearEffect {}
unsafe impl NSSecureCoding for NSSymbolDisappearEffect {}
extern_methods!(
unsafe impl NSSymbolDisappearEffect {
#[method_id(@__retain_semantics Other effect)]
pub unsafe fn effect() -> Retained<Self>;
#[method_id(@__retain_semantics Other disappearUpEffect)]
pub unsafe fn disappearUpEffect() -> Retained<Self>;
#[method_id(@__retain_semantics Other disappearDownEffect)]
pub unsafe fn disappearDownEffect() -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithByLayer)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other effectWithWholeSymbol)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
}
);
extern_methods!(
/// Methods declared on superclass `NSSymbolEffect`
unsafe impl NSSymbolDisappearEffect {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolContentTransition;
unsafe impl ClassType for NSSymbolContentTransition {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolContentTransition {}
unsafe impl NSCopying for NSSymbolContentTransition {}
unsafe impl NSObjectProtocol for NSSymbolContentTransition {}
unsafe impl NSSecureCoding for NSSymbolContentTransition {}
extern_methods!(
unsafe impl NSSymbolContentTransition {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolReplaceContentTransition;
unsafe impl ClassType for NSSymbolReplaceContentTransition {
#[inherits(NSObject)]
type Super = NSSymbolContentTransition;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolReplaceContentTransition {}
unsafe impl NSCopying for NSSymbolReplaceContentTransition {}
unsafe impl NSObjectProtocol for NSSymbolReplaceContentTransition {}
unsafe impl NSSecureCoding for NSSymbolReplaceContentTransition {}
extern_methods!(
unsafe impl NSSymbolReplaceContentTransition {
#[method_id(@__retain_semantics Other transition)]
pub unsafe fn transition() -> Retained<Self>;
#[method_id(@__retain_semantics Other replaceDownUpTransition)]
pub unsafe fn replaceDownUpTransition() -> Retained<Self>;
#[method_id(@__retain_semantics Other replaceUpUpTransition)]
pub unsafe fn replaceUpUpTransition() -> Retained<Self>;
#[method_id(@__retain_semantics Other replaceOffUpTransition)]
pub unsafe fn replaceOffUpTransition() -> Retained<Self>;
#[method_id(@__retain_semantics Other transitionWithByLayer)]
pub unsafe fn transitionWithByLayer(&self) -> Retained<Self>;
#[method_id(@__retain_semantics Other transitionWithWholeSymbol)]
pub unsafe fn transitionWithWholeSymbol(&self) -> Retained<Self>;
}
);
extern_methods!(
/// Methods declared on superclass `NSSymbolContentTransition`
unsafe impl NSSymbolReplaceContentTransition {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolAutomaticContentTransition;
unsafe impl ClassType for NSSymbolAutomaticContentTransition {
#[inherits(NSObject)]
type Super = NSSymbolContentTransition;
type Mutability = InteriorMutable;
}
);
unsafe impl NSCoding for NSSymbolAutomaticContentTransition {}
unsafe impl NSCopying for NSSymbolAutomaticContentTransition {}
unsafe impl NSObjectProtocol for NSSymbolAutomaticContentTransition {}
unsafe impl NSSecureCoding for NSSymbolAutomaticContentTransition {}
extern_methods!(
unsafe impl NSSymbolAutomaticContentTransition {
#[method_id(@__retain_semantics Other transition)]
pub unsafe fn transition() -> Retained<Self>;
}
);
extern_methods!(
/// Methods declared on superclass `NSSymbolContentTransition`
unsafe impl NSSymbolAutomaticContentTransition {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);

View File

@@ -0,0 +1,44 @@
// This file has been automatically generated by `objc2`'s `header-translator`.
// DO NOT EDIT
#![allow(unused_imports)]
#![allow(deprecated)]
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![allow(missing_docs)]
#![allow(clippy::too_many_arguments)]
#![allow(clippy::type_complexity)]
#![allow(clippy::upper_case_acronyms)]
#![allow(clippy::identity_op)]
#![allow(clippy::missing_safety_doc)]
#[link(name = "Symbols", kind = "framework")]
extern "C" {}
#[cfg(feature = "NSSymbolEffect")]
#[path = "NSSymbolEffect.rs"]
mod __NSSymbolEffect;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolAppearEffect;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolAutomaticContentTransition;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolBounceEffect;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolContentTransition;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolDisappearEffect;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolEffect;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolEffectOptions;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolPulseEffect;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolReplaceContentTransition;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolScaleEffect;
#[cfg(feature = "NSSymbolEffect")]
pub use self::__NSSymbolEffect::NSSymbolVariableColorEffect;

20
vendor/objc2-symbols/src/lib.rs vendored Normal file
View File

@@ -0,0 +1,20 @@
//! # Bindings to the `Symbols` framework
//!
//! See [Apple's docs][apple-doc] and [the general docs on framework crates][framework-crates] for more information.
//!
//! [apple-doc]: https://developer.apple.com/documentation/symbols/
//! [framework-crates]: https://docs.rs/objc2/latest/objc2/topics/about_generated/index.html
#![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
// Update in Cargo.toml as well.
#![doc(html_root_url = "https://docs.rs/objc2-symbols/0.2.2")]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
mod generated;
#[allow(unused_imports, unreachable_pub)]
pub use self::generated::*;