use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolEffectOptionsRepeatBehavior;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolEffectOptionsRepeatBehavior {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolEffectOptionsRepeatBehavior {}
);
unsafe impl CopyingHelper for NSSymbolEffectOptionsRepeatBehavior {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolEffectOptionsRepeatBehavior {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolEffectOptionsRepeatBehavior {}
);
impl NSSymbolEffectOptionsRepeatBehavior {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(behaviorPeriodic))]
#[unsafe(method_family = none)]
pub unsafe fn behaviorPeriodic() -> Retained<Self>;
#[unsafe(method(behaviorPeriodicWithCount:))]
#[unsafe(method_family = none)]
pub unsafe fn behaviorPeriodicWithCount(count: NSInteger) -> Retained<Self>;
#[unsafe(method(behaviorPeriodicWithDelay:))]
#[unsafe(method_family = none)]
pub unsafe fn behaviorPeriodicWithDelay(delay: c_double) -> Retained<Self>;
#[unsafe(method(behaviorPeriodicWithCount:delay:))]
#[unsafe(method_family = none)]
pub unsafe fn behaviorPeriodicWithCount_delay(
count: NSInteger,
delay: c_double,
) -> Retained<Self>;
#[unsafe(method(behaviorContinuous))]
#[unsafe(method_family = none)]
pub unsafe fn behaviorContinuous() -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolEffectOptions;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolEffectOptions {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolEffectOptions {}
);
unsafe impl CopyingHelper for NSSymbolEffectOptions {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolEffectOptions {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolEffectOptions {}
);
impl NSSymbolEffectOptions {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(options))]
#[unsafe(method_family = none)]
pub unsafe fn options() -> Retained<Self>;
#[deprecated]
#[unsafe(method(optionsWithRepeating))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithRepeating_class() -> Retained<Self>;
#[deprecated]
#[unsafe(method(optionsWithRepeating))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithRepeating(&self) -> Retained<Self>;
#[unsafe(method(optionsWithNonRepeating))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithNonRepeating_class() -> Retained<Self>;
#[unsafe(method(optionsWithNonRepeating))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithNonRepeating(&self) -> Retained<Self>;
#[deprecated]
#[unsafe(method(optionsWithRepeatCount:))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithRepeatCount_class(count: NSInteger) -> Retained<Self>;
#[deprecated]
#[unsafe(method(optionsWithRepeatCount:))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithRepeatCount(&self, count: NSInteger) -> Retained<Self>;
#[unsafe(method(optionsWithSpeed:))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithSpeed_class(speed: c_double) -> Retained<Self>;
#[unsafe(method(optionsWithSpeed:))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithSpeed(&self, speed: c_double) -> Retained<Self>;
#[unsafe(method(optionsWithRepeatBehavior:))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithRepeatBehavior_class(
behavior: &NSSymbolEffectOptionsRepeatBehavior,
) -> Retained<Self>;
#[unsafe(method(optionsWithRepeatBehavior:))]
#[unsafe(method_family = none)]
pub unsafe fn optionsWithRepeatBehavior(
&self,
behavior: &NSSymbolEffectOptionsRepeatBehavior,
) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolEffect {}
);
unsafe impl CopyingHelper for NSSymbolEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolEffect {}
);
impl NSSymbolEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolPulseEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolPulseEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolPulseEffect {}
);
unsafe impl CopyingHelper for NSSymbolPulseEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolPulseEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolPulseEffect {}
);
impl NSSymbolPulseEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(effectWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(effectWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
);
}
impl NSSymbolPulseEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolBounceEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolBounceEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolBounceEffect {}
);
unsafe impl CopyingHelper for NSSymbolBounceEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolBounceEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolBounceEffect {}
);
impl NSSymbolBounceEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(bounceUpEffect))]
#[unsafe(method_family = none)]
pub unsafe fn bounceUpEffect() -> Retained<Self>;
#[unsafe(method(bounceDownEffect))]
#[unsafe(method_family = none)]
pub unsafe fn bounceDownEffect() -> Retained<Self>;
#[unsafe(method(effectWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(effectWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
);
}
impl NSSymbolBounceEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolVariableColorEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolVariableColorEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolVariableColorEffect {}
);
unsafe impl CopyingHelper for NSSymbolVariableColorEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolVariableColorEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolVariableColorEffect {}
);
impl NSSymbolVariableColorEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(effectWithIterative))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithIterative(&self) -> Retained<Self>;
#[unsafe(method(effectWithCumulative))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithCumulative(&self) -> Retained<Self>;
#[unsafe(method(effectWithReversing))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithReversing(&self) -> Retained<Self>;
#[unsafe(method(effectWithNonReversing))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithNonReversing(&self) -> Retained<Self>;
#[unsafe(method(effectWithHideInactiveLayers))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithHideInactiveLayers(&self) -> Retained<Self>;
#[unsafe(method(effectWithDimInactiveLayers))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithDimInactiveLayers(&self) -> Retained<Self>;
);
}
impl NSSymbolVariableColorEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolScaleEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolScaleEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolScaleEffect {}
);
unsafe impl CopyingHelper for NSSymbolScaleEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolScaleEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolScaleEffect {}
);
impl NSSymbolScaleEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(scaleUpEffect))]
#[unsafe(method_family = none)]
pub unsafe fn scaleUpEffect() -> Retained<Self>;
#[unsafe(method(scaleDownEffect))]
#[unsafe(method_family = none)]
pub unsafe fn scaleDownEffect() -> Retained<Self>;
#[unsafe(method(effectWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(effectWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
);
}
impl NSSymbolScaleEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolAppearEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolAppearEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolAppearEffect {}
);
unsafe impl CopyingHelper for NSSymbolAppearEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolAppearEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolAppearEffect {}
);
impl NSSymbolAppearEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(appearUpEffect))]
#[unsafe(method_family = none)]
pub unsafe fn appearUpEffect() -> Retained<Self>;
#[unsafe(method(appearDownEffect))]
#[unsafe(method_family = none)]
pub unsafe fn appearDownEffect() -> Retained<Self>;
#[unsafe(method(effectWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(effectWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
);
}
impl NSSymbolAppearEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolDisappearEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolDisappearEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolDisappearEffect {}
);
unsafe impl CopyingHelper for NSSymbolDisappearEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolDisappearEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolDisappearEffect {}
);
impl NSSymbolDisappearEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(disappearUpEffect))]
#[unsafe(method_family = none)]
pub unsafe fn disappearUpEffect() -> Retained<Self>;
#[unsafe(method(disappearDownEffect))]
#[unsafe(method_family = none)]
pub unsafe fn disappearDownEffect() -> Retained<Self>;
#[unsafe(method(effectWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(effectWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
);
}
impl NSSymbolDisappearEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolWiggleEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolWiggleEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolWiggleEffect {}
);
unsafe impl CopyingHelper for NSSymbolWiggleEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolWiggleEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolWiggleEffect {}
);
impl NSSymbolWiggleEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(wiggleClockwiseEffect))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleClockwiseEffect() -> Retained<Self>;
#[unsafe(method(wiggleCounterClockwiseEffect))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleCounterClockwiseEffect() -> Retained<Self>;
#[unsafe(method(wiggleLeftEffect))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleLeftEffect() -> Retained<Self>;
#[unsafe(method(wiggleRightEffect))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleRightEffect() -> Retained<Self>;
#[unsafe(method(wiggleUpEffect))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleUpEffect() -> Retained<Self>;
#[unsafe(method(wiggleDownEffect))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleDownEffect() -> Retained<Self>;
#[unsafe(method(wiggleForwardEffect))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleForwardEffect() -> Retained<Self>;
#[unsafe(method(wiggleBackwardEffect))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleBackwardEffect() -> Retained<Self>;
#[unsafe(method(wiggleCustomAngleEffect:))]
#[unsafe(method_family = none)]
pub unsafe fn wiggleCustomAngleEffect(angle: c_double) -> Retained<Self>;
#[unsafe(method(effectWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(effectWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
);
}
impl NSSymbolWiggleEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolRotateEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolRotateEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolRotateEffect {}
);
unsafe impl CopyingHelper for NSSymbolRotateEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolRotateEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolRotateEffect {}
);
impl NSSymbolRotateEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(rotateClockwiseEffect))]
#[unsafe(method_family = none)]
pub unsafe fn rotateClockwiseEffect() -> Retained<Self>;
#[unsafe(method(rotateCounterClockwiseEffect))]
#[unsafe(method_family = none)]
pub unsafe fn rotateCounterClockwiseEffect() -> Retained<Self>;
#[unsafe(method(effectWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(effectWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
);
}
impl NSSymbolRotateEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolEffect, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolBreatheEffect;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolBreatheEffect {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolBreatheEffect {}
);
unsafe impl CopyingHelper for NSSymbolBreatheEffect {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolBreatheEffect {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolBreatheEffect {}
);
impl NSSymbolBreatheEffect {
extern_methods!(
#[unsafe(method(effect))]
#[unsafe(method_family = none)]
pub unsafe fn effect() -> Retained<Self>;
#[unsafe(method(breathePulseEffect))]
#[unsafe(method_family = none)]
pub unsafe fn breathePulseEffect() -> Retained<Self>;
#[unsafe(method(breathePlainEffect))]
#[unsafe(method_family = none)]
pub unsafe fn breathePlainEffect() -> Retained<Self>;
#[unsafe(method(effectWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(effectWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn effectWithWholeSymbol(&self) -> Retained<Self>;
);
}
impl NSSymbolBreatheEffect {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolContentTransition;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolContentTransition {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolContentTransition {}
);
unsafe impl CopyingHelper for NSSymbolContentTransition {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolContentTransition {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolContentTransition {}
);
impl NSSymbolContentTransition {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolContentTransition, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolMagicReplaceContentTransition;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolMagicReplaceContentTransition {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolMagicReplaceContentTransition {}
);
unsafe impl CopyingHelper for NSSymbolMagicReplaceContentTransition {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolMagicReplaceContentTransition {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolMagicReplaceContentTransition {}
);
impl NSSymbolMagicReplaceContentTransition {
extern_methods!();
}
impl NSSymbolMagicReplaceContentTransition {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolContentTransition, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolReplaceContentTransition;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolReplaceContentTransition {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolReplaceContentTransition {}
);
unsafe impl CopyingHelper for NSSymbolReplaceContentTransition {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolReplaceContentTransition {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolReplaceContentTransition {}
);
impl NSSymbolReplaceContentTransition {
extern_methods!(
#[unsafe(method(transition))]
#[unsafe(method_family = none)]
pub unsafe fn transition() -> Retained<Self>;
#[unsafe(method(replaceDownUpTransition))]
#[unsafe(method_family = none)]
pub unsafe fn replaceDownUpTransition() -> Retained<Self>;
#[unsafe(method(replaceUpUpTransition))]
#[unsafe(method_family = none)]
pub unsafe fn replaceUpUpTransition() -> Retained<Self>;
#[unsafe(method(replaceOffUpTransition))]
#[unsafe(method_family = none)]
pub unsafe fn replaceOffUpTransition() -> Retained<Self>;
#[unsafe(method(transitionWithByLayer))]
#[unsafe(method_family = none)]
pub unsafe fn transitionWithByLayer(&self) -> Retained<Self>;
#[unsafe(method(transitionWithWholeSymbol))]
#[unsafe(method_family = none)]
pub unsafe fn transitionWithWholeSymbol(&self) -> Retained<Self>;
#[unsafe(method(magicTransitionWithFallback:))]
#[unsafe(method_family = none)]
pub unsafe fn magicTransitionWithFallback(
fallback: &NSSymbolReplaceContentTransition,
) -> Retained<NSSymbolMagicReplaceContentTransition>;
);
}
impl NSSymbolReplaceContentTransition {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
extern_class!(
#[unsafe(super(NSSymbolContentTransition, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSSymbolAutomaticContentTransition;
);
extern_conformance!(
unsafe impl NSCoding for NSSymbolAutomaticContentTransition {}
);
extern_conformance!(
unsafe impl NSCopying for NSSymbolAutomaticContentTransition {}
);
unsafe impl CopyingHelper for NSSymbolAutomaticContentTransition {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for NSSymbolAutomaticContentTransition {}
);
extern_conformance!(
unsafe impl NSSecureCoding for NSSymbolAutomaticContentTransition {}
);
impl NSSymbolAutomaticContentTransition {
extern_methods!(
#[unsafe(method(transition))]
#[unsafe(method_family = none)]
pub unsafe fn transition() -> Retained<Self>;
);
}
impl NSSymbolAutomaticContentTransition {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}